document an assertion
authorPhilipp Tölke <toelke@in.tum.de>
Wed, 15 Jun 2011 07:15:42 +0000 (07:15 +0000)
committerPhilipp Tölke <toelke@in.tum.de>
Wed, 15 Jun 2011 07:15:42 +0000 (07:15 +0000)
src/util/client.c

index 65f6dbc774c3d3ab2e9b663202d8508de6f595c6..f9fc67c9da1820b0731fc18f5fa528b14cce06fc 100644 (file)
@@ -897,6 +897,8 @@ GNUNET_CLIENT_notify_transmit_ready (struct GNUNET_CLIENT_Connection *sock,
 
   if (NULL != sock->th)
     {
+      /* If this breaks, you most likley called this function twice without waiting
+       * for completion or canceling the request */
       GNUNET_break (0);
       return NULL;
     }