mirror of
https://github.com/curl/curl.git
synced 2026-08-26 05:53:32 +03:00
conncache: make Curl_cpool_init return void
Since it cannot fail, removing the return code simplifies the code paths calling this function. Closes #16936
This commit is contained in:
parent
49701094fc
commit
78710ee955
4 changed files with 11 additions and 14 deletions
|
|
@ -242,8 +242,7 @@ struct Curl_multi *Curl_multi_handle(size_t ev_hashsize, /* event hash */
|
|||
if(Curl_cshutdn_init(&multi->cshutdn, multi))
|
||||
goto error;
|
||||
|
||||
if(Curl_cpool_init(&multi->cpool, multi->admin, NULL, chashsize))
|
||||
goto error;
|
||||
Curl_cpool_init(&multi->cpool, multi->admin, NULL, chashsize);
|
||||
|
||||
if(Curl_ssl_scache_create(sesssize, 2, &multi->ssl_scache))
|
||||
goto error;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue