diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-05-30 09:18:58 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-05-30 09:18:58 +0000 |
commit | be08eabbb0aac5ce1a2ff567b444f992650eee78 (patch) | |
tree | ae19396cad88bab5a9124c0dabe822ef6c197108 /src/core/core_api.c | |
parent | 70da089f6a5d3cd9adc389133f5a4918e2b84e63 (diff) | |
download | gnunet-be08eabbb0aac5ce1a2ff567b444f992650eee78.tar.gz gnunet-be08eabbb0aac5ce1a2ff567b444f992650eee78.zip |
delay if disconnected
Diffstat (limited to 'src/core/core_api.c')
-rw-r--r-- | src/core/core_api.c | 3 |
1 files changed, 2 insertions, 1 deletions
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, | |||
1977 | pr->pcic = info; | 1977 | pr->pcic = info; |
1978 | pr->pcic_cls = info_cls; | 1978 | pr->pcic_cls = info_cls; |
1979 | pr->pcic_ptr = irc; /* for free'ing irc */ | 1979 | pr->pcic_ptr = irc; /* for free'ing irc */ |
1980 | trigger_next_request (h, GNUNET_NO); | 1980 | if (NULL != h->client) |
1981 | trigger_next_request (h, GNUNET_NO); | ||
1981 | return irc; | 1982 | return irc; |
1982 | } | 1983 | } |
1983 | 1984 | ||