* move some more vars from the session context to strbuf (the use of StrBufAppendTemp...
[citadel.git] / webcit / pushemail.c
index 3346d83ba2061de9ead1acf3b96f2a6946d1f86e..2f8c6a13069acaf3b6efac4eda08fb1aea504269 100644 (file)
@@ -59,7 +59,7 @@ void display_pushemail(void) {
        } else if (is_funambol) {
                svput("PUSH_FNBL", WCS_STRING, "checked=\"checked\"");
        }
-       serv_printf("GOTO %s", WC->wc_roomname);
+       serv_printf("GOTO %s", ChrPtr(WC->wc_roomname));
        serv_getln(buf, sizeof  buf);
        }
        output_headers(1, 1, 2, 0, 0, 0);
@@ -107,7 +107,7 @@ void save_pushemail(void) {
        }
 
        /** Go back to the room we're supposed to be in */
-       serv_printf("GOTO %s", WC->wc_roomname);
+       serv_printf("GOTO %s", ChrPtr(WC->wc_roomname));
        serv_getln(buf, sizeof buf);
        http_redirect("display_pushemail");
 }