add begin_burst to "citadel version too low" failure
authorMatt <matt@uncensored.citadel.org>
Sun, 5 Oct 2008 11:54:14 +0000 (11:54 +0000)
committerMatt <matt@uncensored.citadel.org>
Sun, 5 Oct 2008 11:54:14 +0000 (11:54 +0000)
webcit/webcit.c

index 7a6fa4e3a334e32f9a2bf9df39de88637132b856..e2555614e1328d8b947589434dbb12e33e203792 100644 (file)
@@ -1637,6 +1637,7 @@ void session_loop(HashList *HTTPHeaders, StrBuf *ReqLine, StrBuf *request_method
 
                        get_serv_info(browser_host, user_agent);
                        if (serv_info.serv_rev_level < MINIMUM_CIT_VERSION) {
+                               begin_burst();
                                wprintf(_("You are connected to a Citadel "
                                        "server running Citadel %d.%02d. \n"
                                        "In order to run this version of WebCit "
@@ -1647,6 +1648,7 @@ void session_loop(HashList *HTTPHeaders, StrBuf *ReqLine, StrBuf *request_method
                                                MINIMUM_CIT_VERSION / 100,
                                                MINIMUM_CIT_VERSION % 100
                                        );
+                               end_burst();
                                end_webcit_session();
                                goto SKIP_ALL_THIS_CRAP;
                        }