Fix unending RE:re:re: etc

This commit is contained in:
Andrew Pamment 2018-10-12 17:25:30 +10:00
parent d4329eb287
commit 800e13009f

View File

@ -443,7 +443,7 @@ char *www_msgs_messageview(struct user_record *user, int conference, int area, i
stralloc_cats(&page, "\" /><br />\n"); stralloc_cats(&page, "\" /><br />\n");
stralloc_cats(&page, "Subject : <input type=\"text\" name=\"subject\" value=\""); stralloc_cats(&page, "Subject : <input type=\"text\" name=\"subject\" value=\"");
if (strncasecmp(subject, "re:", 3) == 0) { if (strncasecmp(subject, "re:", 3) != 0) {
stralloc_cats(&page, "RE: "); stralloc_cats(&page, "RE: ");
} }
stralloc_cats(&page, subject); stralloc_cats(&page, subject);