summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/hostasyn.c
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2018-09-07 00:27:45 +0300
committerdartraiden <wowemuh@gmail.com>2018-09-07 00:29:12 +0300
commitdc059a02a3d8d1f3f509ba31b7618cee001cba93 (patch)
treea61572eda5489fcac8a2bbe896a788b297b8257a /libs/libcurl/src/hostasyn.c
parenta0fa47ed9d7be66a62f1cd05bc9577588c04a4fe (diff)
libcurl: update to 7.61.1
Diffstat (limited to 'libs/libcurl/src/hostasyn.c')
-rw-r--r--libs/libcurl/src/hostasyn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/libcurl/src/hostasyn.c b/libs/libcurl/src/hostasyn.c
index 7b6e8568a0..e7b399ed27 100644
--- a/libs/libcurl/src/hostasyn.c
+++ b/libs/libcurl/src/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, TRUE); /* close the connection */
return result;
}