mirror of
https://github.com/curl/curl.git
synced 2025-01-30 14:22:33 +08:00
stupid mistake rectified by Jeff Pohlmeyer
This commit is contained in:
parent
055022a55f
commit
5c184cfc0d
@ -1688,9 +1688,10 @@ static void conn_free(struct connectdata *conn)
|
|||||||
|
|
||||||
CURLcode Curl_disconnect(struct connectdata *conn)
|
CURLcode Curl_disconnect(struct connectdata *conn)
|
||||||
{
|
{
|
||||||
struct SessionHandle *data = conn->data;
|
struct SessionHandle *data;
|
||||||
if(!conn)
|
if(!conn)
|
||||||
return CURLE_OK; /* this is closed and fine already */
|
return CURLE_OK; /* this is closed and fine already */
|
||||||
|
data = conn->data;
|
||||||
|
|
||||||
#if defined(CURLDEBUG) && defined(AGGRESIVE_TEST)
|
#if defined(CURLDEBUG) && defined(AGGRESIVE_TEST)
|
||||||
/* scan for DNS cache entries still marked as in use */
|
/* scan for DNS cache entries still marked as in use */
|
||||||
|
Loading…
Reference in New Issue
Block a user