projects
/
oweals
/
gnunet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
stuff
[oweals/gnunet.git]
/
src
/
transport
/
plugin_transport_tcp.c
diff --git
a/src/transport/plugin_transport_tcp.c
b/src/transport/plugin_transport_tcp.c
index 14c2f8a66dc392c3bd0039153c62daed5c4ce6ca..e796dacf4ffe20cce4c1a2427ca7ca744153bda0 100644
(file)
--- a/
src/transport/plugin_transport_tcp.c
+++ b/
src/transport/plugin_transport_tcp.c
@@
-1197,7
+1197,10
@@
tcp_plugin_send (void *cls,
while ((ses != NULL) && (ses != session))
ses = ses->next;
if (ses == NULL)
- return -1;
+ {
+ GNUNET_break (0);
+ return -1;
+ }
}
GNUNET_assert (session != NULL);
GNUNET_assert (session->client != NULL);