This commit is contained in:
Andrew Pamment 2018-04-20 16:23:18 +10:00
parent 08c01c58c8
commit ef80f27a6a

View File

@ -618,10 +618,11 @@ char *www_msgs_messageview(struct user_record *user, int conference, int area, i
if (body[l1] == '\e' && body[l1+1] == '[') { if (body[l1] == '\e' && body[l1+1] == '[') {
while (strchr("ABCDEFGHIGJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", body[l1]) == NULL && l1 < strlen(body)) while (strchr("ABCDEFGHIGJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", body[l1]) == NULL && l1 < strlen(body))
l1++; l1++;
} } else {
replybody[l2++] = body[l1]; replybody[l2++] = body[l1];
replybody[l2] ='\0'; replybody[l2] ='\0';
} }
}
free(body); free(body);
chars = 0; chars = 0;