trafficserver-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zw...@apache.org
Subject trafficserver git commit: TS-3275 set retval so things work with kqueue too
Date Tue, 06 Jan 2015 23:34:01 GMT
Repository: trafficserver
Updated Branches:
  refs/heads/master 15e70572d -> 8bbf6a784


TS-3275 set retval so things work with kqueue too


Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo
Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/8bbf6a78
Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/8bbf6a78
Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/8bbf6a78

Branch: refs/heads/master
Commit: 8bbf6a784ba48592a31948834c2da3f2c0011fd4
Parents: 15e7057
Author: Leif Hedstrom <zwoop@apache.org>
Authored: Tue Jan 6 16:33:25 2015 -0700
Committer: Leif Hedstrom <zwoop@apache.org>
Committed: Tue Jan 6 16:33:27 2015 -0700

----------------------------------------------------------------------
 iocore/net/P_UnixNet.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/8bbf6a78/iocore/net/P_UnixNet.h
----------------------------------------------------------------------
diff --git a/iocore/net/P_UnixNet.h b/iocore/net/P_UnixNet.h
index 060bc5d..2f67515 100644
--- a/iocore/net/P_UnixNet.h
+++ b/iocore/net/P_UnixNet.h
@@ -607,7 +607,7 @@ TS_INLINE int EventIO::refresh(int e) {
 
 TS_INLINE int EventIO::stop() {
   if (event_loop) {
-    int retval;
+    int retval = 0;
 #if TS_USE_EPOLL
     struct epoll_event ev;
     memset(&ev, 0, sizeof(struct epoll_event));


Mime
View raw message