aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/sendf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sendf.c b/lib/sendf.c
index fc9af912b..4d17ec133 100644
--- a/lib/sendf.c
+++ b/lib/sendf.c
@@ -638,7 +638,7 @@ int Curl_read(struct connectdata *conn, /* connection data */
nread = Curl_sec_read(conn, sockfd, buffertofill,
bytesfromsocket);
else {
- CURLcode ret = Curl_read_plain(sockfd, buffertofill, bytesfromsocket,
+ int ret = Curl_read_plain(sockfd, buffertofill, bytesfromsocket,
&nread);
if(ret)
return ret;