]> code.citadel.org Git - citadel.git/blobdiff - webcit/auth.c
* Moved all diagnostic output to stderr
[citadel.git] / webcit / auth.c
index e449c9629c5bfbe51917983a1db395fcfa36e1a2..117ba611c6c34dfec8eb98817336a89a4d4d738b 100644 (file)
@@ -47,7 +47,6 @@ void display_login(char *mesg)
 {
        char buf[256];
 
-       wprintf("HTTP/1.0 200 OK\n");
        output_headers(3);
 
        /* Da banner */
@@ -184,7 +183,6 @@ void do_logout(void)
        strcpy(WC->wc_password, "");
        strcpy(WC->wc_roomname, "");
 
-       wprintf("HTTP/1.0 200 OK\n");
        output_headers(2);      /* note "2" causes cookies to be unset */
 
        wprintf("<CENTER>");
@@ -218,7 +216,6 @@ void validate(void)
        char buf[256];
        int a;
 
-       wprintf("HTTP/1.0 200 OK\n");
        output_headers(1);
 
        strcpy(buf, bstr("user"));
@@ -297,7 +294,6 @@ void display_reg(int during_login)
        char buf[256];
        int a;
 
-       wprintf("HTTP/1.0 200 OK\n");
        output_headers(1);
 
        wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=007700><TR><TD>");
@@ -401,7 +397,6 @@ void display_changepw(void)
 {
        char buf[256];
 
-       wprintf("HTTP/1.0 200 OK\n");
        output_headers(1);
 
        wprintf("<TABLE WIDTH=100% BORDER=0 BGCOLOR=770000><TR><TD>");