From d37e0160c2eb22c616ae3ff25c03c3b4711b2a13 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 12 May 2015 09:28:37 +0200 Subject: multi: converted socket hash into non-allocated struct avoids extra dynamic allocation --- lib/multihandle.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/multihandle.h') diff --git a/lib/multihandle.h b/lib/multihandle.h index 2c7305dfd..1ef28c9d6 100644 --- a/lib/multihandle.h +++ b/lib/multihandle.h @@ -95,7 +95,7 @@ struct Curl_multi { /* 'sockhash' is the lookup hash for socket descriptor => easy handles (note the pluralis form, there can be more than one easy handle waiting on the same actual socket) */ - struct curl_hash *sockhash; + struct curl_hash sockhash; /* Whether pipelining is enabled for this multi handle */ bool pipelining_enabled; -- cgit v1.2.3