From 1858f0b734b9c855a3852ae0a0d191329ca30df4 Mon Sep 17 00:00:00 2001 From: "Nathan S. Evans" Date: Mon, 22 Nov 2010 16:59:21 +0000 Subject: [PATCH] invariant pr->pending_head <> NULL still getting violated --- src/core/core_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/core_api.c b/src/core/core_api.c index 696948682..cae269290 100644 --- a/src/core/core_api.c +++ b/src/core/core_api.c @@ -1521,9 +1521,9 @@ GNUNET_CORE_notify_transmit_ready (struct GNUNET_CORE_Handle *handle, /* Order entries by deadline, but SKIP 'HEAD' if we're in the 'ready_peer_*' DLL */ /* FIXME: again, pr->pending_head is NULL after a reconnect_later call */ + pos = pr->pending_head; if (pr->pending_head != NULL) { - pos = pr->pending_head; if ( (pr->prev != NULL) || (pr->next != NULL) || (pr == handle->ready_peer_head) ) -- 2.25.1