projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77c8e0d
)
when failing the DDNS-Request and no more connection attempt is available, kill the...
author
Wilfried Goesgens
<dothebart@citadel.org>
Wed, 21 Dec 2011 22:15:53 +0000
(23:15 +0100)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Wed, 21 Dec 2011 22:15:53 +0000
(23:15 +0100)
citadel/event_client.c
patch
|
blob
|
history
diff --git
a/citadel/event_client.c
b/citadel/event_client.c
index 94777828a5974c6f9e7229a97c765b7a8531beb3..f2c44f11bfac520956fb6655b6dad65698563c6f 100644
(file)
--- a/
citadel/event_client.c
+++ b/
citadel/event_client.c
@@
-700,9
+700,15
@@
IO_postdns_callback(struct ev_loop *loop, ev_idle *watcher, int revents)
switch (IO->DNSQuery->PostDNS(IO))
{
case eAbort:
- IO->DNSFail(IO);
+ switch (IO->DNSFail(IO)) {
+ case eAbort:
+ ShutDownCLient(IO);
+ default:
+ break;
+
+ }
default:
- break;
+
break;
}
}