mirror of
https://github.com/curl/curl.git
synced 2026-07-24 17:07:16 +03:00
connect: remove redundant condition in shutdown start
Pointed out by CodeSonar Closes #19079
This commit is contained in:
parent
f8cd64e3ab
commit
71d5525113
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ void Curl_shutdown_start(struct Curl_easy *data, int sockindex,
|
|||
((data->set.shutdowntimeout > 0) ?
|
||||
data->set.shutdowntimeout : DEFAULT_SHUTDOWN_TIMEOUT_MS);
|
||||
/* Set a timer, unless we operate on the admin handle */
|
||||
if(data->mid && (conn->shutdown.timeout_ms > 0))
|
||||
if(data->mid)
|
||||
Curl_expire_ex(data, nowp, conn->shutdown.timeout_ms,
|
||||
EXPIRE_SHUTDOWN);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue