another fix

This commit is contained in:
Andrew Pamment 2018-09-02 18:27:22 +10:00
parent db4eeff587
commit a9c73f15a6

View File

@ -1112,6 +1112,9 @@ void unmangle_ansi(char *body, int len, char **body_out, int *body_len) {
if (body[i] == '[') {
state = 2;
continue;
} else {
state = 0;
continue;
}
} else if (state == 2) {
param_count = 0;