From 85f9aa08d9ba78843e18b6eda83c81a2f92a729d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 20 Dec 2018 16:51:44 +0100 Subject: conncache_unlock: avoid indirection by changing input argument type --- lib/conncache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/conncache.c') diff --git a/lib/conncache.c b/lib/conncache.c index 080441854..0ac38497c 100644 --- a/lib/conncache.c +++ b/lib/conncache.c @@ -178,9 +178,9 @@ static void hashkey(struct connectdata *conn, char *buf, msnprintf(buf, len, "%ld%s", conn->port, hostname); } -void Curl_conncache_unlock(struct connectdata *conn) +void Curl_conncache_unlock(struct Curl_easy *data) { - CONN_UNLOCK(conn->data); + CONN_UNLOCK(data); } /* Returns number of connections currently held in the connection cache. -- cgit v1.2.3