mirror of
https://github.com/curl/curl.git
synced 2026-08-14 01:21:47 +03:00
parent
080973dcdb
commit
cd2b45201a
32 changed files with 68 additions and 75 deletions
|
|
@ -855,7 +855,7 @@ parse_netscape(struct Cookie *co,
|
|||
* domain can access the variable. Set TRUE when the cookie says
|
||||
* .domain.com and to false when the domain is complete www.domain.com
|
||||
*/
|
||||
co->tailmatch = strcasecompare(ptr, "TRUE") ? TRUE : FALSE;
|
||||
co->tailmatch = !!strcasecompare(ptr, "TRUE");
|
||||
break;
|
||||
case 2:
|
||||
/* The file format allows the path field to remain not filled in */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue