diff options
author | Daniel Stenberg <daniel@haxx.se> | 2018-07-04 00:55:48 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-07-11 23:41:24 +0200 |
commit | 1b76c38904f0033ac1403ec4b31c28f23805c0d4 (patch) | |
tree | 836d54662c91bc088e4860712c02d83ac0117b9b /lib/hostasyn.c | |
parent | d6417f6c2ddb10099da2c7ad0ffeebaa732aa824 (diff) |
conn: remove the boolean 'inuse' field
... as the usage needs to be counted.
Diffstat (limited to 'lib/hostasyn.c')
-rw-r--r-- | lib/hostasyn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hostasyn.c b/lib/hostasyn.c index 7b6e8568a..35b52a90c 100644 --- a/lib/hostasyn.c +++ b/lib/hostasyn.c @@ -5,7 +5,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2018, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -131,7 +131,7 @@ CURLcode Curl_async_resolved(struct connectdata *conn, if(result) /* We're not allowed to return failure with memory left allocated in the connectdata struct, free those here */ - Curl_disconnect(conn, FALSE); /* close the connection */ + Curl_disconnect(conn->data, conn, FALSE); /* close the connection */ return result; } |