projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abd1dcd
)
change
author
Matthias Wachs
<wachs@net.in.tum.de>
Fri, 26 Oct 2012 11:38:04 +0000
(11:38 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Fri, 26 Oct 2012 11:38:04 +0000
(11:38 +0000)
src/transport/plugin_transport_unix.c
patch
|
blob
|
history
diff --git
a/src/transport/plugin_transport_unix.c
b/src/transport/plugin_transport_unix.c
index a5f4f609ba6807c546df6ce242b0d8c9cbba2cc7..563df7cc7b80d6507bf8fce07d6b5f040a1d5e4a 100644
(file)
--- 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 */