From: Daniel Stenberg Date: Sun, 15 Feb 2004 13:58:57 +0000 (+0000) Subject: another case which should use CURLcode and not int X-Git-Tag: cares-1_1_0~270 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8ddc18a4f961dc8eb4ae41101cb2bf8f87d4cd7f;p=curl another case which should use CURLcode and not int --- diff --git a/lib/content_encoding.c b/lib/content_encoding.c index 496af07d2..a2b357b49 100644 --- a/lib/content_encoding.c +++ b/lib/content_encoding.c @@ -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 */