diff options
Diffstat (limited to 'src/libunixonacid/unixmessage_handle.c')
-rw-r--r-- | src/libunixonacid/unixmessage_handle.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ; |