From: Christian Grothoff Date: Mon, 6 Jun 2011 11:13:45 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~18317 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d666f368761a72f38a401f89674cf04f27c2d4a3;p=oweals%2Fgnunet.git fix --- 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) { /* peer not ready, wait for notification! */ GNUNET_assert (n == GNUNET_CONTAINER_heap_remove_root (h->ready_heap)); - GNUNET_assert (GNUNET_SCHEDULER_NO_TASK == n->th->timeout_task); + n->hn = NULL; + GNUNET_assert (GNUNET_SCHEDULER_NO_TASK == n->th->timeout_task); n->th->timeout_task = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_absolute_get_remaining (n->th->timeout), &timeout_request_due_to_congestion, n->th);