diff options
| author | Dan Fandrich <dan@coneharvesters.com> | 2011-10-20 17:54:18 -0700 | 
|---|---|---|
| committer | Dan Fandrich <dan@coneharvesters.com> | 2011-10-20 17:54:18 -0700 | 
| commit | 90fcad63cbb9943c7c7a564944a3bce7d10e581a (patch) | |
| tree | 6885e23af8434bb1f4ae7c64fd91dda7efd72260 /lib/url.c | |
| parent | 1399c3da0db131ad67db701573a1390da29e3a2a (diff) | |
Fixed compilation when HTTP or cookies are disabled
Diffstat (limited to 'lib/url.c')
| -rw-r--r-- | lib/url.c | 2 | 
1 files changed, 2 insertions, 0 deletions
@@ -2094,8 +2094,10 @@ CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,          data->dns.hostcachetype = HCACHE_NONE;        } +#if !defined(CURL_DISABLE_HTTP) && !defined(CURL_DISABLE_COOKIES)        if(data->share->cookies == data->cookies)          data->cookies = NULL; +#endif        if(data->share->sslsession == data->state.session) {          data->state.session = NULL;  | 
