]> code.citadel.org Git - citadel.git/blobdiff - webcit/webcit.c
Remove the intermediate buffer in serv_puts()
[citadel.git] / webcit / webcit.c
index 3e93030717adea7a3b5338378eb7f49edbd7e7eb..0368e6429cc27bfde7db3f3c00b6a7425906ad39 100644 (file)
@@ -1210,6 +1210,8 @@ void session_loop(struct httprequest *req)
 
        /* If the client sent a nonce that is incorrect, kill the request. */
        if (strlen(bstr("nonce")) > 0) {
+               lprintf(9, "Comparing supplied nonce %s to session nonce %ld\n", 
+                       bstr("nonce"), WC->nonce);
                if (atoi(bstr("nonce")) != WC->nonce) {
                        lprintf(9, "Ignoring request with mismatched nonce.\n");
                        wprintf("HTTP/1.1 404 Security check failed\r\n");