projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70da089
)
delay if disconnected
author
Christian Grothoff
<christian@grothoff.org>
Mon, 30 May 2011 09:18:58 +0000
(09:18 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Mon, 30 May 2011 09:18:58 +0000
(09:18 +0000)
src/core/core_api.c
patch
|
blob
|
history
diff --git
a/src/core/core_api.c
b/src/core/core_api.c
index 1c79b051975b4e042000960dde030c1d2923e88b..10531789d7c0c77f999f6f3c169d345932610638 100644
(file)
--- 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;
}