From: Christian Grothoff Date: Mon, 30 May 2011 09:18:58 +0000 (+0000) Subject: delay if disconnected X-Git-Tag: initial-import-from-subversion-38251~18387 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=be08eabbb0aac5ce1a2ff567b444f992650eee78;p=oweals%2Fgnunet.git delay if disconnected --- 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; }