503 Service Unavailable when we can't connect to citserver
authorArt Cancro <ajc@citadel.org>
Fri, 31 Dec 2010 19:50:52 +0000 (14:50 -0500)
committerWilfried Goesgens <dothebart@citadel.org>
Sun, 4 Sep 2011 13:35:37 +0000 (13:35 +0000)
webcit/serv_func.c
webcit/webcit.c

index 8585744af915c810dfe857cc6223457feac72127..6a53a36781932b2271b31d3c74c8594046e52762 100644 (file)
@@ -167,7 +167,6 @@ int GetConnected (void)
                WCC->serv_sock = tcp_connectsock(ctdlhost, ctdlport);
        
        if (WCC->serv_sock < 0) {
-               do_logout();
                FreeStrBuf(&WCC->ReadBuf);
                return 1;
        }
index da57d4723a717f8e00315d11a1e3ce1860279bd0..603ac60cfd2777e149a9753ab8450fe89ce7084e 100644 (file)
@@ -663,6 +663,7 @@ void session_loop(void)
                        wc_printf("</body></html>\n");
                        end_burst();
                        goto SKIP_ALL_THIS_CRAP;
+               }
        }