commit 5894630751a754756961f7d61963c064b33dac1f parent f212479e9ab13c79a9277dfef4924d8f9ce442eb Author: Laurent Bercot <ska-skaware@skarnet.org> Date: Sat, 3 Jan 2015 14:40:10 +0000 ... without breaking everything, if possible Diffstat:
M | src/libunixonacid/unixmessage_handle.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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 ;