diff --git a/lib/cw-out.c b/lib/cw-out.c index 437ded3a66..3da803e8e9 100644 --- a/lib/cw-out.c +++ b/lib/cw-out.c @@ -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;