From 5894630751a754756961f7d61963c064b33dac1f Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 3 Jan 2015 14:40:10 +0000 Subject: ... without breaking everything, if possible --- src/libunixonacid/unixmessage_handle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/libunixonacid/unixmessage_handle.c b/src/libunixonacid/unixmessage_handle.c index db92b6c..52e85cb 100644 --- a/src/libunixonacid/unixmessage_handle.c +++ b/src/libunixonacid/unixmessage_handle.c @@ -13,7 +13,7 @@ int unixmessage_handle (unixmessage_receiver_t *b, unixmessage_handler_func_t *f if (r < 0) return -1 ; if (!r) break ; r = (*f)(&m, p) ; - if (r <= 0) return r ; + if (r <= 0) return r-2 ; count++ ; } return count ; -- cgit v1.2.3