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:
c0d32e0
)
fix segv
author
Christian Grothoff
<christian@grothoff.org>
Mon, 17 Oct 2011 09:40:24 +0000
(09:40 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Mon, 17 Oct 2011 09:40:24 +0000
(09:40 +0000)
src/ats/ats_api_scheduling.c
patch
|
blob
|
history
diff --git
a/src/ats/ats_api_scheduling.c
b/src/ats/ats_api_scheduling.c
index 4855efadb0867a1b983ff4242c4f81e768aac15c..d35d1bfe06b1fce7e991daf668df7ed6809109c1 100644
(file)
--- a/
src/ats/ats_api_scheduling.c
+++ b/
src/ats/ats_api_scheduling.c
@@
-224,6
+224,8
@@
do_transmit (struct GNUNET_ATS_SchedulingHandle *sh)
return;
if (NULL == (p = sh->pending_head))
return;
+ if (NULL == sh->client)
+ return; /* currently reconnecting */
sh->th = GNUNET_CLIENT_notify_transmit_ready (sh->client,
p->size,
GNUNET_TIME_UNIT_FOREVER_REL,