diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-09-19 09:14:15 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-09-20 08:06:58 +0200 |
commit | 97c17e9fcbb4d27eec3cf51db8599ea151c16042 (patch) | |
tree | e074be97db7db2177c6764675903d837d4245500 /lib/ftp.c | |
parent | 69ea985d4c3ce1901a7b0a69f9e6c899cb762887 (diff) | |
download | curl-97c17e9fcbb4d27eec3cf51db8599ea151c16042.tar.gz |
ftp: part of conditional expression is always true: !result
Fixes warning detected by PVS-Studio
Fixes #4374
Diffstat (limited to 'lib/ftp.c')
-rw-r--r-- | lib/ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -523,7 +523,7 @@ static CURLcode AllowServerConnect(struct connectdata *conn, bool *connected) } else { /* Add timeout to multi handle and break out of the loop */ - if(!result && *connected == FALSE) { + if(*connected == FALSE) { Curl_expire(data, data->set.accepttimeout > 0 ? data->set.accepttimeout: DEFAULT_ACCEPT_TIMEOUT, 0); } |