You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2013/09/23 21:52:21 UTC

[07/20] git commit: TS-2187: Fix return in EventNotify::wait()

TS-2187: Fix return in EventNotify::wait()

Signed-off-by: Yunkai Zhang <qi...@taobao.com>


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

Branch: refs/heads/5.0.x
Commit: 2e4ee7be37a06c5c005c0eac5533088319457d95
Parents: 9a6fc2a
Author: Yunkai Zhang <qi...@taobao.com>
Authored: Wed Sep 11 15:28:03 2013 +0800
Committer: Yunkai Zhang <qi...@taobao.com>
Committed: Wed Sep 11 15:29:02 2013 +0800

----------------------------------------------------------------------
 lib/ts/EventNotify.cc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/trafficserver/blob/2e4ee7be/lib/ts/EventNotify.cc
----------------------------------------------------------------------
diff --git a/lib/ts/EventNotify.cc b/lib/ts/EventNotify.cc
index feb9ad8..c838f9b 100644
--- a/lib/ts/EventNotify.cc
+++ b/lib/ts/EventNotify.cc
@@ -104,7 +104,8 @@ EventNotify::wait(void)
   else
     return errno;
 #else
-  return ink_cond_wait(&m_cond, &m_mutex);
+  ink_cond_wait(&m_cond, &m_mutex);
+  return 0;
 #endif
 }