Skip to content
Snippets Groups Projects
Commit 8ddc18a4 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

another case which should use CURLcode and not int

parent 0d3aa8b7
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment