diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-06-06 11:13:45 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-06-06 11:13:45 +0000 |
commit | d666f368761a72f38a401f89674cf04f27c2d4a3 (patch) | |
tree | 9f48cb0e60962cdc90bd29524f8311a2561eca38 /src/transport/transport_api_new.c | |
parent | bca24b48e92b81a55732608dcbf4e84b28ebbb27 (diff) | |
download | gnunet-d666f368761a72f38a401f89674cf04f27c2d4a3.tar.gz gnunet-d666f368761a72f38a401f89674cf04f27c2d4a3.zip |
fix
Diffstat (limited to 'src/transport/transport_api_new.c')
-rw-r--r-- | src/transport/transport_api_new.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transport/transport_api_new.c b/src/transport/transport_api_new.c index 2a8c78f24..8ef298450 100644 --- a/src/transport/transport_api_new.c +++ b/src/transport/transport_api_new.c | |||
@@ -666,7 +666,8 @@ transport_notify_ready (void *cls, size_t size, void *buf) | |||
666 | { | 666 | { |
667 | /* peer not ready, wait for notification! */ | 667 | /* peer not ready, wait for notification! */ |
668 | GNUNET_assert (n == GNUNET_CONTAINER_heap_remove_root (h->ready_heap)); | 668 | GNUNET_assert (n == GNUNET_CONTAINER_heap_remove_root (h->ready_heap)); |
669 | GNUNET_assert (GNUNET_SCHEDULER_NO_TASK == n->th->timeout_task); | 669 | n->hn = NULL; |
670 | GNUNET_assert (GNUNET_SCHEDULER_NO_TASK == n->th->timeout_task); | ||
670 | n->th->timeout_task = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_absolute_get_remaining (n->th->timeout), | 671 | n->th->timeout_task = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_absolute_get_remaining (n->th->timeout), |
671 | &timeout_request_due_to_congestion, | 672 | &timeout_request_due_to_congestion, |
672 | n->th); | 673 | n->th); |