fixup simplify condition

This commit is contained in:
Daniel Stenberg 2025-09-09 15:48:01 +02:00
parent eaae8bc4fd
commit 6f2b4a3abc
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -659,7 +659,7 @@ static void output_header(struct per_transfer *per,
const char *end;
end = strchr(ptr, '}');
do {
if(!end || (end && (end[-1] != '\\')))
if(!end || (end[-1] != '\\'))
break;
end = strchr(&end[1], '}');
} while(end);