]> granicus.if.org Git - curl/commitdiff
use CURLcode, not int, prevents picky compilers to warn
authorDaniel Stenberg <daniel@haxx.se>
Fri, 13 Feb 2004 12:16:24 +0000 (12:16 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 13 Feb 2004 12:16:24 +0000 (12:16 +0000)
lib/content_encoding.c

index 4ccef4834e1d5c50098fbbd3aae30e633ccb6bc8..496af07d2699b777d832c302031320bf57097e56 100644 (file)
@@ -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 */