From: Wilfried Goesgens Date: Wed, 21 Dec 2011 22:15:53 +0000 (+0100) Subject: when failing the DDNS-Request and no more connection attempt is available, kill the... X-Git-Tag: v8.11~290 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=383e0142f8ba53c761df684268c845a5d4b13953 when failing the DDNS-Request and no more connection attempt is available, kill the context. --- diff --git a/citadel/event_client.c b/citadel/event_client.c index 94777828a..f2c44f11b 100644 --- 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; } }