- critical error
authorBart Polot <bart@net.in.tum.de>
Mon, 27 Apr 2015 19:16:05 +0000 (19:16 +0000)
committerBart Polot <bart@net.in.tum.de>
Mon, 27 Apr 2015 19:16:05 +0000 (19:16 +0000)
src/cadet/gnunet-service-cadet_tunnel.c

index 5329eeeab946426819b3443089db440e58f57748..c0e92bc68195d22bff0e917d707de711b8bed956 100644 (file)
@@ -1824,12 +1824,8 @@ queue_data (struct CadetTunnel *t, const struct GNUNET_MessageHeader *msg)
 
   LOG (GNUNET_ERROR_TYPE_DEBUG, "queue data on Tunnel %s\n", GCT_2s (t));
 
-  if (GNUNET_YES == is_ready (t))
-  {
-    GNUNET_break (0);
-    return NULL;
-  }
-
+  GNUNET_assert (GNUNET_NO == is_ready (t));
+  
   tqd = GNUNET_malloc (sizeof (struct CadetTunnelDelayed) + size);
 
   tqd->t = t;