Fixed compilation when HTTP or cookies are disabled
This commit is contained in:
@@ -194,8 +194,10 @@ curl_share_cleanup(CURLSH *sh)
|
||||
share->hostcache = NULL;
|
||||
}
|
||||
|
||||
#if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_COOKIES)
|
||||
if(share->cookies)
|
||||
Curl_cookie_cleanup(share->cookies);
|
||||
#endif
|
||||
|
||||
#ifdef USE_SSL
|
||||
if(share->sslsession) {
|
||||
|
||||
Reference in New Issue
Block a user