fix bug
This commit is contained in:
parent
08c01c58c8
commit
ef80f27a6a
@ -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;
|
||||||
|
Reference in New Issue
Block a user