From be08eabbb0aac5ce1a2ff567b444f992650eee78 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 30 May 2011 09:18:58 +0000 Subject: [PATCH] delay if disconnected --- src/core/core_api.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/core_api.c b/src/core/core_api.c index 1c79b0519..10531789d 100644 --- a/src/core/core_api.c +++ b/src/core/core_api.c @@ -1977,7 +1977,8 @@ GNUNET_CORE_peer_change_preference (struct GNUNET_CORE_Handle *h, pr->pcic = info; pr->pcic_cls = info_cls; pr->pcic_ptr = irc; /* for free'ing irc */ - trigger_next_request (h, GNUNET_NO); + if (NULL != h->client) + trigger_next_request (h, GNUNET_NO); return irc; } -- 2.25.1