report issue better
authorChristian Grothoff <christian@grothoff.org>
Thu, 4 Aug 2011 07:39:52 +0000 (07:39 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 4 Aug 2011 07:39:52 +0000 (07:39 +0000)
src/transport/plugin_transport_tcp.c

index 14c2f8a66dc392c3bd0039153c62daed5c4ce6ca..e796dacf4ffe20cce4c1a2427ca7ca744153bda0 100644 (file)
@@ -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);