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:
944a67d
)
do not auto-reconnect during shutdown:
author
Christian Grothoff
<christian@grothoff.org>
Tue, 10 Nov 2009 19:53:34 +0000
(19:53 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Tue, 10 Nov 2009 19:53:34 +0000
(19:53 +0000)
src/util/client.c
patch
|
blob
|
history
diff --git
a/src/util/client.c
b/src/util/client.c
index cb834031c50f7b4db69f7a9db7d86972195f88c0..4dedb55f3e200c290bc4803d8451dcdbf6340f10 100644
(file)
--- a/
src/util/client.c
+++ b/
src/util/client.c
@@
-749,7
+749,7
@@
client_notify (void *cls, size_t size, void *buf)
{
delay = GNUNET_TIME_absolute_get_remaining (th->timeout);
delay.value /= 2;
- if ( (0 != (GNUNET_SCHEDULER_REASON_SHUTDOWN & GNUNET_SCHEDULER_get_reason (th->sched))) ||
+ if ( (0 != (GNUNET_SCHEDULER_REASON_SHUTDOWN & GNUNET_SCHEDULER_get_reason (th->s
ock->s
ched))) ||
(GNUNET_YES != th->auto_retry) ||
(0 == --th->attempts_left) ||
(delay.value < 1) )