diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2011-01-03 10:33:55 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2011-01-03 10:33:55 +0000 |
commit | cb3c882dbb05a797728dfd8b5983ade5a8999eac (patch) | |
tree | 9f4366e70fcc3f6c319aca794f9f73646817298d /src/peerinfo | |
parent | 320c2d50b722eeffc50cd6db0c5361886ee750b0 (diff) | |
download | gnunet-cb3c882dbb05a797728dfd8b5983ade5a8999eac.tar.gz gnunet-cb3c882dbb05a797728dfd8b5983ade5a8999eac.zip |
not needed
Diffstat (limited to 'src/peerinfo')
-rw-r--r-- | src/peerinfo/peerinfo_api.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) | |||
273 | struct TransmissionQueueEntry *tqe; | 273 | struct TransmissionQueueEntry *tqe; |
274 | 274 | ||
275 | if (NULL == (tqe = h->tq_head)) | 275 | if (NULL == (tqe = h->tq_head)) |
276 | return NULL; | 276 | return; |
277 | if (h->th != NULL) | 277 | if (h->th != NULL) |
278 | return NULL; | 278 | return; |
279 | if (h->in_receive == GNUNET_YES) | 279 | if (h->in_receive == GNUNET_YES) |
280 | return NULL; | 280 | return; |
281 | h->th = GNUNET_CLIENT_notify_transmit_ready (h->client, | 281 | h->th = GNUNET_CLIENT_notify_transmit_ready (h->client, |
282 | tqe->size, | 282 | tqe->size, |
283 | GNUNET_TIME_absolute_get_remaining (tqe->timeout), | 283 | GNUNET_TIME_absolute_get_remaining (tqe->timeout), |