]> code.citadel.org Git - citadel.git/blobdiff - webcit/webcit.c
Add new member 'PushedDestination' to wcsession. This will be used soon.
[citadel.git] / webcit / webcit.c
index da57d4723a717f8e00315d11a1e3ce1860279bd0..90f5a3d4a96ff4cd769d086552037efb6085e5e6 100644 (file)
@@ -647,8 +647,7 @@ void session_loop(void)
        }
 
        /*
-        * If we're not connected to a Citadel server, try to hook up the
-        * connection now.
+        * If we're not connected to a Citadel server, try to hook up the connection now.
         */
        if (!WCC->connected) {
                if (GetConnected()) {
@@ -663,9 +662,9 @@ void session_loop(void)
                        wc_printf("</body></html>\n");
                        end_burst();
                        goto SKIP_ALL_THIS_CRAP;
+               }
        }
 
-
        /*
         * If we're not logged in, but we have authentication data (either from
         * a cookie or from http-auth), try logging in to Citadel using that.
@@ -958,5 +957,6 @@ SessionDestroyModule_WEBCIT
        FreeStrBuf(&sess->WBuf);
        FreeStrBuf(&sess->HBuf);
        FreeStrBuf(&sess->ImportantMsg);
+       FreeStrBuf(&sess->PushedDestination);
 }