fixup reversed return code
This commit is contained in:
parent
e4eb40315b
commit
26c1a366dc
@ -536,9 +536,9 @@ parse_cookie_header(struct Curl_easy *data,
|
||||
* "the rest". Prefixes must start with '__' and end with a '-', so
|
||||
* only test for names where that can possibly be true.
|
||||
*/
|
||||
if(strncmp("__Secure-", Curl_str(&name), 9))
|
||||
if(!strncmp("__Secure-", Curl_str(&name), 9))
|
||||
co->prefix_secure = TRUE;
|
||||
else if(strncmp("__Host-", Curl_str(&name), 7))
|
||||
else if(!strncmp("__Host-", Curl_str(&name), 7))
|
||||
co->prefix_host = TRUE;
|
||||
|
||||
/*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user