aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-04-22 13:19:38 +0000
committerChristian Grothoff <christian@grothoff.org>2010-04-22 13:19:38 +0000
commit484fe7a5ed11bbf57dd3ed990bfd4c5ce2fb9fb9 (patch)
treef4e798b5b242bd25ca5320bd2b6879d4ba4bec91 /src/peerinfo
parenteb5c56279680c2337bb4a752a7d1f269c7d13888 (diff)
downloadgnunet-484fe7a5ed11bbf57dd3ed990bfd4c5ce2fb9fb9.tar.gz
gnunet-484fe7a5ed11bbf57dd3ed990bfd4c5ce2fb9fb9.zip
fix
Diffstat (limited to 'src/peerinfo')
-rw-r--r--src/peerinfo/peerinfo_api.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/peerinfo/peerinfo_api.c b/src/peerinfo/peerinfo_api.c
index 44af04c92..0a0916d72 100644
--- a/src/peerinfo/peerinfo_api.c
+++ b/src/peerinfo/peerinfo_api.c
@@ -472,6 +472,12 @@ iterator_start_receive (void *cls,
472 472
473 if (GNUNET_OK != transmit_success) 473 if (GNUNET_OK != transmit_success)
474 { 474 {
475 if (ic->timeout_task != GNUNET_SCHEDULER_NO_TASK)
476 {
477 GNUNET_SCHEDULER_cancel (ic->h->sched,
478 ic->timeout_task);
479 ic->timeout_task = GNUNET_SCHEDULER_NO_TASK;
480 }
475 ic->callback (ic->callback_cls, NULL, NULL, 2); 481 ic->callback (ic->callback_cls, NULL, NULL, 2);
476 reconnect (ic->h); 482 reconnect (ic->h);
477 trigger_transmit (ic->h); 483 trigger_transmit (ic->h);