aboutsummaryrefslogtreecommitdiff
path: root/lib/content_encoding.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-02-15 13:58:57 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-02-15 13:58:57 +0000
commit8ddc18a4f961dc8eb4ae41101cb2bf8f87d4cd7f (patch)
treec1b9fc7b1f87ca835436f72f37a6cbd18b4d7627 /lib/content_encoding.c
parent0d3aa8b7be9c3f8423359d090148fb7da0e5ea49 (diff)
another case which should use CURLcode and not int
Diffstat (limited to 'lib/content_encoding.c')
-rw-r--r--lib/content_encoding.c4
1 files changed, 2 insertions, 2 deletions
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 */