when failing the DDNS-Request and no more connection attempt is available, kill the...
authorWilfried Goesgens <dothebart@citadel.org>
Wed, 21 Dec 2011 22:15:53 +0000 (23:15 +0100)
committerWilfried Goesgens <dothebart@citadel.org>
Wed, 21 Dec 2011 22:15:53 +0000 (23:15 +0100)
citadel/event_client.c

index 94777828a5974c6f9e7229a97c765b7a8531beb3..f2c44f11bfac520956fb6655b6dad65698563c6f 100644 (file)
@@ -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;
        }
 }