diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-09-17 16:00:48 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-09-17 16:00:48 +0200 |
commit | d27b24641a4efb45686da744231979d7fc4fb0d4 (patch) | |
tree | 4f9effc940e9b4999865978186067fa707eab341 | |
parent | 718370e9f1c8b0aaf026ca0701db655bde06cb50 (diff) | |
download | curl-d27b24641a4efb45686da744231979d7fc4fb0d4.tar.gz |
fixup please code analyzer and init ftpcodebagder/ftp-remove-PPSENDF
-rw-r--r-- | lib/ftp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3364,17 +3364,17 @@ static CURLcode ftp_sendquote(struct connectdata *conn, struct curl_slist *quote) { struct curl_slist *item; - ssize_t nread; - int ftpcode; struct ftp_conn *ftpc = &conn->proto.ftpc; struct pingpong *pp = &ftpc->pp; item = quote; while(item) { if(item->data) { + ssize_t nread; char *cmd = item->data; bool acceptfail = FALSE; CURLcode result; + int ftpcode = 0; /* if a command starts with an asterisk, which a legal FTP command never can, the command will be allowed to fail without it causing any |