1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

another case which should use CURLcode and not int

This commit is contained in:
Daniel Stenberg 2004-02-15 13:58:57 +00:00
parent 0d3aa8b7be
commit 8ddc18a4f9

View File

@ -74,7 +74,7 @@ Curl_unencode_deflate_write(struct SessionHandle *data,
ssize_t nread)
{
int status; /* zlib status */
CURLcode 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 */
@ -218,7 +218,7 @@ Curl_unencode_gzip_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 */