summaryrefslogtreecommitdiff
path: root/lib/multihandle.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-05-12 09:28:37 +0200
committerDaniel Stenberg <daniel@haxx.se>2015-05-12 09:28:37 +0200
commitd37e0160c2eb22c616ae3ff25c03c3b4711b2a13 (patch)
tree37c4bd66b37d0464712853ac4607917d42e02967 /lib/multihandle.h
parent640296c95de3d1c17bf1d81908f884bac9c8062f (diff)
downloadcurl-d37e0160c2eb22c616ae3ff25c03c3b4711b2a13.tar.gz
multi: converted socket hash into non-allocated struct
avoids extra dynamic allocation
Diffstat (limited to 'lib/multihandle.h')
-rw-r--r--lib/multihandle.h2
1 files changed, 1 insertions, 1 deletions
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;