This commit is contained in:
Andrew Pamment 2017-09-10 23:10:11 +10:00
parent f7dc6a7136
commit 4ff97e8daf

View File

@ -943,7 +943,7 @@ int main(int argc, char **argv)
} else { } else {
buffer[strlen(buffer)+1] = '\0'; buffer[strlen(buffer)+1] = '\0';
buffer[strlen(buffer)] = '\r'; buffer[strlen(buffer)] = '\r';
}
if (unwrapped_quote_len == 0) { if (unwrapped_quote_len == 0) {
unwrapped_quote = (char *)malloc(strlen(buffer) + 1); unwrapped_quote = (char *)malloc(strlen(buffer) + 1);
strcpy(unwrapped_quote, buffer); strcpy(unwrapped_quote, buffer);