diff options
author | Daniel Stenberg <daniel@haxx.se> | 2015-05-12 09:46:53 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2015-05-12 09:46:53 +0200 |
commit | b419e7ae0c9869ac3eb06d529efeb2c6dc1b4bc1 (patch) | |
tree | 6938b33aaf767e9006ce881bd707651b10cc946a /lib/multihandle.h | |
parent | d37e0160c2eb22c616ae3ff25c03c3b4711b2a13 (diff) | |
download | curl-b419e7ae0c9869ac3eb06d529efeb2c6dc1b4bc1.tar.gz |
hostcache: made all host caches use structs, not pointers
This avoids unnecessary dynamic allocs and as this also removed the last
users of *hash_alloc() and *hash_destroy(), those two functions are now
removed.
Diffstat (limited to 'lib/multihandle.h')
-rw-r--r-- | lib/multihandle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/multihandle.h b/lib/multihandle.h index 1ef28c9d6..640e3fb4b 100644 --- a/lib/multihandle.h +++ b/lib/multihandle.h @@ -86,7 +86,7 @@ struct Curl_multi { void *socket_userp; /* Hostname cache */ - struct curl_hash *hostcache; + struct curl_hash hostcache; /* timetree points to the splay-tree of time nodes to figure out expire times of all currently set timers */ |