diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-01-03 14:40:10 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-01-03 14:40:10 +0000 |
commit | 5894630751a754756961f7d61963c064b33dac1f (patch) | |
tree | 21503183f297d21fbcfc5563c59d6dc772fbc540 /src/libunixonacid/unixmessage_handle.c | |
parent | f212479e9ab13c79a9277dfef4924d8f9ce442eb (diff) | |
download | skalibs-5894630751a754756961f7d61963c064b33dac1f.tar.xz |
... without breaking everything, if possible
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 ; |