aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/sendf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sendf.c b/lib/sendf.c
index c984d2a50..0172ae7c3 100644
--- a/lib/sendf.c
+++ b/lib/sendf.c
@@ -446,7 +446,7 @@ CURLcode Curl_client_write(struct connectdata *conn,
if((conn->handler->protocol&CURLPROTO_FTP) &&
conn->proto.ftpc.transfertype == 'A') {
/* convert from the network encoding */
- size_t rc = Curl_convert_from_network(data, ptr, len);
+ CURLcode rc = Curl_convert_from_network(data, ptr, len);
/* Curl_convert_from_network calls failf if unsuccessful */
if(rc)
return rc;