From: Adam Dickmeiss Date: Fri, 5 Aug 2011 09:25:30 +0000 (+0200) Subject: Function session_set_watch returns proper value X-Git-Tag: v1.5.7~13^2^2~3 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=09278365d30921250ac60f9f594578ff94663026;p=pazpar2-moved-to-github.git Function session_set_watch returns proper value It will be interesting to see what side effects that will have. --- 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)