From: Matthias Wachs Date: Fri, 26 Oct 2012 11:38:04 +0000 (+0000) Subject: change X-Git-Tag: initial-import-from-subversion-38251~11180 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d8dc59b1cc0324392fd90f9e5d6f5adc876d4de9;p=oweals%2Fgnunet.git change --- diff --git a/src/transport/plugin_transport_unix.c b/src/transport/plugin_transport_unix.c index a5f4f609b..563df7cc7 100644 --- a/src/transport/plugin_transport_unix.c +++ b/src/transport/plugin_transport_unix.c @@ -605,8 +605,10 @@ unix_real_send (void *cls, { if (sent == GNUNET_SYSERR) cont (cont_cls, target, GNUNET_SYSERR, payload, 0); - if (sent > 0) + else if (sent > 0) cont (cont_cls, target, GNUNET_OK, payload, msgbuf_size); + else + GNUNET_break (0); } /* return number of bytes successfully sent */