tidy-up: replace (0 == expressions

This commit is contained in:
Viktor Szakats 2025-07-09 19:58:33 +02:00
parent 2530adcf4d
commit bc72ca01e9
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
17 changed files with 23 additions and 23 deletions

View file

@ -3949,7 +3949,7 @@ static CURLcode http_on_response(struct Curl_easy *data,
like to call http2_handle_stream_close to properly close a
stream. In order to do this, we keep reading until we
close the stream. */
if((0 == k->maxdownload) && (k->httpversion_sent < 20))
if((k->maxdownload == 0) && (k->httpversion_sent < 20))
k->download_done = TRUE;
/* final response without error, prepare to receive the body */