aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_unix.c
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-10-26 11:38:04 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-10-26 11:38:04 +0000
commitd8dc59b1cc0324392fd90f9e5d6f5adc876d4de9 (patch)
treebf2100887a70ce5b45ea900fde953e5e44dbf42c /src/transport/plugin_transport_unix.c
parentabd1dcd0c76124296917e695b11ea3c7502ceb1a (diff)
downloadgnunet-d8dc59b1cc0324392fd90f9e5d6f5adc876d4de9.tar.gz
gnunet-d8dc59b1cc0324392fd90f9e5d6f5adc876d4de9.zip
change
Diffstat (limited to 'src/transport/plugin_transport_unix.c')
-rw-r--r--src/transport/plugin_transport_unix.c4
1 files changed, 3 insertions, 1 deletions
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,
605 { 605 {
606 if (sent == GNUNET_SYSERR) 606 if (sent == GNUNET_SYSERR)
607 cont (cont_cls, target, GNUNET_SYSERR, payload, 0); 607 cont (cont_cls, target, GNUNET_SYSERR, payload, 0);
608 if (sent > 0) 608 else if (sent > 0)
609 cont (cont_cls, target, GNUNET_OK, payload, msgbuf_size); 609 cont (cont_cls, target, GNUNET_OK, payload, msgbuf_size);
610 else
611 GNUNET_break (0);
610 } 612 }
611 613
612 /* return number of bytes successfully sent */ 614 /* return number of bytes successfully sent */