aboutsummaryrefslogtreecommitdiff
path: root/src/transport/plugin_transport_tcp.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-04 07:39:52 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-04 07:39:52 +0000
commitc7ad60c5fd958a4f5b599c22eebc1c4a731d9b52 (patch)
tree7121d07936270a10a5333afbee65f4f7338514d4 /src/transport/plugin_transport_tcp.c
parent75f1032d17f5660afeec30943c0c7c0ab37d16a9 (diff)
downloadgnunet-c7ad60c5fd958a4f5b599c22eebc1c4a731d9b52.tar.gz
gnunet-c7ad60c5fd958a4f5b599c22eebc1c4a731d9b52.zip
report issue better
Diffstat (limited to 'src/transport/plugin_transport_tcp.c')
-rw-r--r--src/transport/plugin_transport_tcp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/transport/plugin_transport_tcp.c b/src/transport/plugin_transport_tcp.c
index 14c2f8a66..e796dacf4 100644
--- a/src/transport/plugin_transport_tcp.c
+++ b/src/transport/plugin_transport_tcp.c
@@ -1197,7 +1197,10 @@ tcp_plugin_send (void *cls,
1197 while ((ses != NULL) && (ses != session)) 1197 while ((ses != NULL) && (ses != session))
1198 ses = ses->next; 1198 ses = ses->next;
1199 if (ses == NULL) 1199 if (ses == NULL)
1200 return -1; 1200 {
1201 GNUNET_break (0);
1202 return -1;
1203 }
1201 } 1204 }
1202 GNUNET_assert (session != NULL); 1205 GNUNET_assert (session != NULL);
1203 GNUNET_assert (session->client != NULL); 1206 GNUNET_assert (session->client != NULL);