diff --git a/www_msgs.c b/www_msgs.c index f2c9d5a..fbc0e74 100644 --- a/www_msgs.c +++ b/www_msgs.c @@ -84,15 +84,15 @@ char *www_msgs_messagelist(struct user_record *user, int conference, int area, i strcat(page, buffer); len += strlen(buffer); - - sprintf(buffer, "
\n", conference, area); - if (len + strlen(buffer) > max_len - 1) { - max_len += 4096; - page = (char *)realloc(page, max_len); + if (conf.mail_conferences[conference]->mail_areas[area]->type != TYPE_NETMAIL_AREA) { + sprintf(buffer, " \n", conference, area); + if (len + strlen(buffer) > max_len - 1) { + max_len += 4096; + page = (char *)realloc(page, max_len); + } + strcat(page, buffer); + len += strlen(buffer); } - strcat(page, buffer); - len += strlen(buffer); - mhrs = read_message_headers(conference, area, user); if (mhrs == NULL) { @@ -321,7 +321,7 @@ char *www_msgs_messageview(struct user_record *user, int conference, int area, i len = 0; memset(page, 0, 4096); - sprintf(buffer, "