* move some more vars from the session context to strbuf (the use of StrBufAppendTemp...
[citadel.git] / webcit / listsub.c
index 604d3d47b0acd46d5d61bb6c3eecee997a421075..a694cd227e6cf689efc6f1723c5f4559c959861c 100644 (file)
@@ -23,10 +23,10 @@ void do_listsub(void)
        int self;
        char sroom[SIZ];
 
-       strcpy(WC->wc_fullname, "");
-       strcpy(WC->wc_username, "");
-       strcpy(WC->wc_password, "");
-       strcpy(WC->wc_roomname, "");
+       FlushStrBuf(WC->wc_fullname);
+       FlushStrBuf(WC->wc_username);
+       FlushStrBuf(WC->wc_password);
+       FlushStrBuf(WC->wc_roomname);
 
        output_headers(1, 0, 0, 1, 1, 0);
        begin_burst();
@@ -49,7 +49,7 @@ void do_listsub(void)
        wprintf("<table border=0 width=75%%><tr><td>");
 
        svput("BOXTITLE", WCS_STRING, _("List subscribe/unsubscribe"));
-       do_template("beginbox", NULL);
+       do_template("beginboxx", NULL);
        wprintf("<div align=center><br>");
 
        /*