summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2022-01-19 23:03:53 +0100
committerDaniel Stenberg <daniel@haxx.se>2022-01-19 23:03:53 +0100
commit0cf89353f200a88f05c939cb34dd96feeb346372 (patch)
treedc1bbb0daf210fed410f4663baddc46481bcf9bd
parente1673767a9914b6899aa05ac02d6baa6fdbee0e6 (diff)
downloadcurl-bagder/void-disconnect.tar.gz
fixup do the return properbagder/void-disconnect
-rw-r--r--lib/url.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/url.c b/lib/url.c
index 7f4f4fec6..d7d16bfb9 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -851,6 +851,7 @@ void Curl_disconnect(struct Curl_easy *data,
*/
if(CONN_INUSE(conn) && !dead_connection) {
DEBUGF(infof(data, "Curl_disconnect when inuse: %zu", CONN_INUSE(conn)));
+ return;
}
if(conn->dns_entry) {