not needed
authorMatthias Wachs <wachs@net.in.tum.de>
Mon, 3 Jan 2011 10:33:55 +0000 (10:33 +0000)
committerMatthias Wachs <wachs@net.in.tum.de>
Mon, 3 Jan 2011 10:33:55 +0000 (10:33 +0000)
src/peerinfo/peerinfo_api.c

index a0cb5c5c4a94323aba029ffcdb1d79393d0e6006..c2e091f00524fb75ec8d608a0e460c085cb01500 100644 (file)
@@ -273,11 +273,11 @@ trigger_transmit (struct GNUNET_PEERINFO_Handle *h)
   struct TransmissionQueueEntry *tqe;
 
   if (NULL == (tqe = h->tq_head))
-    return NULL;
+    return;
   if (h->th != NULL)
-    return NULL;
+    return;
   if (h->in_receive == GNUNET_YES)
-    return NULL;
+    return;
   h->th = GNUNET_CLIENT_notify_transmit_ready (h->client,
                                               tqe->size,
                                               GNUNET_TIME_absolute_get_remaining (tqe->timeout),