]> code.citadel.org Git - citadel.git/blobdiff - webcit/listsub.c
* shuffled members of wcsession -> do a make clean or everything will burst in your...
[citadel.git] / webcit / listsub.c
index a694cd227e6cf689efc6f1723c5f4559c959861c..8a2f2f5acee7c29cd9284126f8c470fef7d3854c 100644 (file)
@@ -61,7 +61,7 @@ void do_listsub(void)
                        email,
                        subtype,
                        (is_https ? "https" : "http"),
-                       WC->http_host
+                           ChrPtr(WC->http_host)
                );
                serv_getln(buf, sizeof buf);
                if (buf[0] == '2') {
@@ -99,10 +99,10 @@ void do_listsub(void)
         */
        else if (!strcasecmp(cmd, "unsubscribe")) {
                serv_printf("SUBS unsubscribe|%s|%s|%s://%s/listsub",
-                       room,
-                       email,
-                       (is_https ? "https" : "http"),
-                       WC->http_host
+                           room,
+                           email,
+                           (is_https ? "https" : "http"),
+                           ChrPtr(WC->http_host)
                );
                serv_getln(buf, sizeof buf);
                if (buf[0] == '2') {