aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-08-15 12:26:34 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-08-15 12:26:34 +0000
commitcec8a3afb2c0103571220b64a20fa62a886abb8c (patch)
tree6699c62f7d43e011db82dfb7fb5aef9eef5116dd
parentf78de2d8c1c9817d916e2721d3273d17be1b4fb8 (diff)
removed one compiler error and two "unused variable" warnings
-rw-r--r--lib/ftp.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 7afc53e9e..5fe639aa7 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -530,7 +530,6 @@ CURLcode Curl_ftp_done(struct connectdata *conn)
struct FTP *ftp = conn->proto.ftp;
ssize_t nread;
char *buf = data->buffer; /* this is our buffer */
- struct curl_slist *qitem; /* QUOTE item */
int ftpcode;
if(data->bits.upload) {
@@ -610,7 +609,7 @@ CURLcode _ftp_sendquote(struct connectdata *conn, struct curl_slist *quote)
}
}
- ítem = item->next;
+ item = item->next;
}
return CURLE_OK;
@@ -656,7 +655,6 @@ CURLcode _ftp(struct connectdata *conn)
char hostent_buf[8192];
#endif
- struct curl_slist *qitem; /* QUOTE item */
/* the ftp struct is already inited in ftp_connect() */
struct FTP *ftp = conn->proto.ftp;