Fix error handling to avoid XSS attacks.
[citadel.git] / webcit / webcit.h
index a087d5f37599b9514eeadc9ebfd38c237de08428..8913f4fed01a8fa73efe673522ce4bd6635283df 100644 (file)
@@ -422,6 +422,7 @@ struct wcsession {
        int ctdl_pid;                           /* Session ID on the Citadel server */
        int nonce;                              /* session nonce (to prevent session riding) */
        int inuse;                              /* set to nonzero if bound to a running thread */
+       int isFailure;                          /* Http 2xx or 5xx? */
 
 /* Session local Members */
        int serv_sock;                          /* Client socket to Citadel server */