- not always an error
authorBart Polot <bart@net.in.tum.de>
Tue, 13 Aug 2013 17:47:48 +0000 (17:47 +0000)
committerBart Polot <bart@net.in.tum.de>
Tue, 13 Aug 2013 17:47:48 +0000 (17:47 +0000)
src/mesh/gnunet-service-mesh-enc.c

index 6af1c2bb796cfba8f012693dd6c54e6728d1a919..d23f9d78e31e28bdae48e154d62d2bb7ca781c4f 100644 (file)
@@ -1671,7 +1671,7 @@ send_prebuilt_message_tunnel (struct GNUNET_MESH_Encrypted *msg,
   c = tunnel_get_connection (t, fwd);
   if (NULL == c)
   {
-    GNUNET_break (0);
+    GNUNET_break (GNUNET_YES == t->destroy);
     return;
   }
   type = ntohs (msg->header.type);