bug hunting
authorMatthias Wachs <wachs@net.in.tum.de>
Tue, 28 Jun 2011 14:14:20 +0000 (14:14 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Tue, 28 Jun 2011 14:14:20 +0000 (14:14 +0000)
src/transport/plugin_transport_tcp.c

index 478598af10113ad9b34b84ecccdc606be4247d77..872bac4ce3becad695c0a82802b0491f7086680c 100644 (file)
@@ -651,6 +651,7 @@ do_transmit (void *cls, size_t size, void *buf)
   char *cbuf;
   size_t ret;
 
+  GNUNET_assert (session != NULL);
   session->transmit_handle = NULL;
   plugin = session->plugin;
   if (buf == NULL)