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();
email,
subtype,
(is_https ? "https" : "http"),
- WC->http_host
+ ChrPtr(WC->http_host)
);
serv_getln(buf, sizeof buf);
if (buf[0] == '2') {
*/
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') {