]> code.citadel.org Git - citadel.git/commitdiff
debugs
authorArt Cancro <ajc@citadel.org>
Tue, 29 Dec 1998 00:19:04 +0000 (00:19 +0000)
committerArt Cancro <ajc@citadel.org>
Tue, 29 Dec 1998 00:19:04 +0000 (00:19 +0000)
webcit/roomops.c
webcit/webcit.c

index e386a6551279097da18094c7d6436610166f6951..aa2159e8229a31eb2a96c523a2b22570d55635db 100644 (file)
@@ -214,21 +214,20 @@ void gotoroom(char *gname, int display_name)
                /* store ungoto information */
                strcpy(ugname, wc_roomname);
                uglsn = ls;
-               fprintf(stderr, "setting ugname to %s and uglsn to %ld\n",
-                       ugname, uglsn);
                }
 
        /* move to the new room */
-       sprintf(buf,"GOTO %s",gname);
-       serv_puts(buf);
+       serv_printf("GOTO %s", gname);
        serv_gets(buf);
        if (buf[0]!='2') {
                serv_puts("GOTO _BASEROOM_");
                serv_gets(buf);
                }
        if (buf[0]!='2') {
-               if (display_name) wprintf("<EM>%s</EM><BR>\n",&buf[4]);
-               wDumpContent();
+               if (display_name) {
+                       wprintf("<EM>%s</EM><BR>\n",&buf[4]);
+                       wDumpContent();
+                       }
                return;
                }
 
@@ -246,7 +245,6 @@ void gotoroom(char *gname, int display_name)
        if (!strcasecmp(gname,"_BASEROOM_")) remove_march(gname);
 
        /* Display the room banner */
-
        if (display_name) {
                wprintf("<CENTER><TABLE border=0><TR>");
 
@@ -284,6 +282,7 @@ void gotoroom(char *gname, int display_name)
 
                        wprintf("</TR></TABLE></CENTER>\n");
                        }
+               wprintf("</BODY></HTML>\n");
                wDumpContent();
                }
 
@@ -295,8 +294,7 @@ void gotoroom(char *gname, int display_name)
  * operation to goto a room
  */
 void dotgoto(void) {
-       fprintf(stderr, "DOTGOTO: <%s>\n", bstr("room"));
-       gotoroom(bstr("room"),1);
+       gotoroom(bstr("room"), 1);
        }
 
 
index 043094451c4dcfa033d2cc0ad7be8bcc4f8d0425..1ce361432d616c2cbd8b2000a70de917c1ff56bc 100644 (file)
@@ -303,6 +303,7 @@ void output_headers(int print_standard_html_head) {
                        ExpressMessages = NULL;
                        }
                wprintf("BACKGROUND=\"/image&name=background\" TEXT=\"#000000\" LINK=\"#004400\">\n");
+               wprintf("<FONT SIZE=-2>heloooooooooooo!  isn't it a beautiful day?<BR></FONT>\n");
                }
 
        }