fixup remove a condition

This commit is contained in:
Daniel Stenberg 2026-03-02 13:14:55 +01:00
parent e1ea1d40cb
commit 6b3d36ebaf
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -260,7 +260,7 @@ static CURLcode cw_out_ptr_flush(struct cw_out_ctx *ctx,
buf, wlen, &nwritten);
if(result)
return result;
if(otype == CW_OUT_BODY && nwritten)
if(otype == CW_OUT_BODY)
Curl_pgrs_deliver_inc(data, nwritten);
*pconsumed += nwritten;
blen -= nwritten;