From 09278365d30921250ac60f9f594578ff94663026 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 5 Aug 2011 11:25:30 +0200 Subject: [PATCH] Function session_set_watch returns proper value It will be interesting to see what side effects that will have. --- src/session.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/session.c b/src/session.c index 545f0fc..6002a80 100644 --- a/src/session.c +++ b/src/session.c @@ -488,7 +488,7 @@ int session_set_watch(struct session *s, int what, ret = 0; } session_leave(s); - return 0; + return ret; } void session_alert_watch(struct session *s, int what) -- 1.7.10.4