assert
authorChristian Grothoff <christian@grothoff.org>
Fri, 2 Oct 2009 00:00:53 +0000 (00:00 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 2 Oct 2009 00:00:53 +0000 (00:00 +0000)
src/util/connection.c

index cabe00355993fd3f746587cf36474573671d3fcf..fdf139abc80e93e1dc225975e5552b1879c210db 100644 (file)
@@ -689,6 +689,7 @@ destroy_continuation (void *cls,
       return;
     }
   GNUNET_assert (sock->nth.timeout_task == GNUNET_SCHEDULER_NO_TASK);
+  GNUNET_assert (sock->ccs == CC_NONE);
   if (NULL != (notify = sock->nth.notify_ready))
     {
       sock->nth.notify_ready = NULL;