]> code.citadel.org Git - citadel.git/blobdiff - webcit/webcit.c
started to add wholist
[citadel.git] / webcit / webcit.c
index f856409000d01a9c0deb121a3191443f0a9be2db..aae07ad08f77a2999aa76cf708509277fa06fd7c 100644 (file)
@@ -309,15 +309,7 @@ void session_loop() {
                serv_gets(buf); /* get the server welcome message */
                strcpy(wc_host, c_host);
                strcpy(wc_port, c_port);
-               serv_printf("IDEN %d|%d|%d|%s|%s",
-                       DEVELOPER_ID,
-                       CLIENT_ID,
-                       CLIENT_VERSION,
-                       SERVER,
-                       ""
-                       );
-               serv_gets(buf);
-               /* FIX find out where the user is */
+               get_serv_info();
                }
 
 
@@ -377,6 +369,10 @@ void session_loop() {
                display_main_menu();
                }
 
+       else if (!strncasecmp(cmd, "GET /whobbs", 11)) {
+               whobbs();
+               }
+
        /* When all else fails, display the oops page. */
        else {
                printf("HTTP/1.0 200 OK\n");