mirror of
https://github.com/curl/curl.git
synced 2025-01-24 14:15:18 +08:00
use CURLcode, not int, prevents picky compilers to warn
This commit is contained in:
parent
6a921197e2
commit
4d17e77532
@ -74,7 +74,7 @@ Curl_unencode_deflate_write(struct SessionHandle *data,
|
||||
ssize_t nread)
|
||||
{
|
||||
int status; /* zlib status */
|
||||
int result = CURLE_OK; /*?*/ /* Curl_client_write status */
|
||||
CURLcode result = CURLE_OK; /*?*/ /* Curl_client_write status */
|
||||
char decomp[DSIZ]; /* Put the decompressed data here. */
|
||||
z_stream *z = &k->z; /* zlib state structure */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user