aboutsummaryrefslogtreecommitdiff
path: root/lib/conncache.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-12-20 16:51:44 +0100
committerDaniel Stenberg <daniel@haxx.se>2018-12-22 18:14:56 +0100
commit85f9aa08d9ba78843e18b6eda83c81a2f92a729d (patch)
tree6b65f8d371413515b6236f23bb1346246e6f5084 /lib/conncache.h
parentfb445a1e18d12f577964c9347bc5bca74b37cd08 (diff)
conncache_unlock: avoid indirection by changing input argument type
Diffstat (limited to 'lib/conncache.h')
-rw-r--r--lib/conncache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/conncache.h b/lib/conncache.h
index 81566dcd3..0df6d4715 100644
--- a/lib/conncache.h
+++ b/lib/conncache.h
@@ -56,7 +56,7 @@ void Curl_conncache_destroy(struct conncache *connc);
/* return the correct bundle, to a host or a proxy */
struct connectbundle *Curl_conncache_find_bundle(struct connectdata *conn,
struct conncache *connc);
-void Curl_conncache_unlock(struct connectdata *conn);
+void Curl_conncache_unlock(struct Curl_easy *data);
/* returns number of connections currently held in the connection cache */
size_t Curl_conncache_size(struct Curl_easy *data);
size_t Curl_conncache_bundle_size(struct connectdata *conn);