From: Matthias Wachs Date: Mon, 3 Jan 2011 10:33:55 +0000 (+0000) Subject: not needed X-Git-Tag: initial-import-from-subversion-38251~19378 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cb3c882dbb05a797728dfd8b5983ade5a8999eac;p=oweals%2Fgnunet.git not needed --- diff --git a/src/peerinfo/peerinfo_api.c b/src/peerinfo/peerinfo_api.c index a0cb5c5c4..c2e091f00 100644 --- a/src/peerinfo/peerinfo_api.c +++ b/src/peerinfo/peerinfo_api.c @@ -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),