- assertion causing crash, see mantis 0002244
authorMatthias Wachs <wachs@net.in.tum.de>
Mon, 2 Apr 2012 09:15:57 +0000 (09:15 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Mon, 2 Apr 2012 09:15:57 +0000 (09:15 +0000)
src/transport/plugin_transport_udp.c

index fb03392a4013a9b8055788f36207dfbc5d9a889e..5ea2ba8da521fa58370339d2383794498e952f7e 100644 (file)
@@ -1387,7 +1387,8 @@ ack_proc (void *cls, uint32_t id, const struct GNUNET_MessageHeader *msg)
       &l_ctx);
   s = l_ctx.res;
 
-  GNUNET_assert (s != NULL);
+  if (NULL == s)
+    return;
 
   if (s->flow_delay_for_other_peer.rel_value <= UINT32_MAX)
     delay = s->flow_delay_for_other_peer.rel_value;