aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ftp.c')
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 0d7d5a927..98b197a8b 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -2277,7 +2277,7 @@ static CURLcode ftp_statemach_act(struct connectdata *conn)
static const char * const ftpauth[] = {
"SSL", "TLS"
};
- size_t nread;
+ size_t nread = 0;
if(ftp->sendleft) {
/* we have a piece of a command still left to send */