mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:33:44 +03:00
- Tim Ansell fixed a compiler warning in lib/cookie.c
This commit is contained in:
parent
7ac16811cc
commit
5e74c58b73
3 changed files with 5 additions and 3 deletions
|
|
@ -439,7 +439,7 @@ Curl_cookie_add(struct SessionHandle *data,
|
|||
reading the odd netscape cookies-file format here */
|
||||
char *ptr;
|
||||
char *firstptr;
|
||||
char *tok_buf;
|
||||
char *tok_buf=NULL;
|
||||
int fields;
|
||||
|
||||
/* IE introduced HTTP-only cookies to prevent XSS attacks. Cookies
|
||||
|
|
@ -454,7 +454,6 @@ Curl_cookie_add(struct SessionHandle *data,
|
|||
co->httponly = TRUE;
|
||||
}
|
||||
|
||||
|
||||
if(lineptr[0]=='#') {
|
||||
/* don't even try the comments */
|
||||
free(co);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue