From 556b68f44ee3db9cd3e7ae794e503901b77772e6 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Tue, 3 Feb 2004 09:52:32 +0000
Subject: [PATCH] the unused quit-function didn't pass a correct variable type
 to the response reading function

---
 lib/ftp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/ftp.c b/lib/ftp.c
index 51159f894f..8af1ad19f1 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -2421,7 +2421,7 @@ CURLcode Curl_ftpsendf(struct connectdata *conn,
  */
 CURLcode Curl_ftp_quit(struct connectdata *conn)
 {
-  int nread;
+  ssize_t nread;
   int ftpcode;
   CURLcode ret;
 
-- 
GitLab