conncache: done always evaluates to false

Follow-up to c9b95c0bb3

Spotted by CodeSonar

Reviewed-by: Stefan Eissing
Closes #14034
This commit is contained in:
Daniel Stenberg 2024-06-27 08:48:18 +02:00
parent 9a49af5fd8
commit fde2143df7
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -690,7 +690,7 @@ static void connc_discard_conn(struct conncache *connc,
* not what we want. */
if(aborted)
done = TRUE;
else if(!done) {
if(!done) {
/* Attempt to shutdown the connection right away. */
Curl_attach_connection(data, conn);
connc_run_conn_shutdown(data, conn, &done);