mirror of
https://github.com/curl/curl.git
synced 2026-04-17 03:01:42 +03:00
ftp: part of conditional expression is always true: !result
Fixes warning detected by PVS-Studio Fixes #4374
This commit is contained in:
parent
69ea985d4c
commit
97c17e9fcb
1 changed files with 1 additions and 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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue