Do not use C99 printf format specifiers and asprintf
This commit is contained in:
4
cookie.c
4
cookie.c
@@ -461,9 +461,9 @@ save_cookies(void)
|
||||
for (p = First_cookie; p; p = p->next) {
|
||||
if (!(p->flag & COO_USE) || p->flag & COO_DISCARD)
|
||||
continue;
|
||||
fprintf(fp, "%s\t%s\t%s\t%lld\t%s\t%s\t%d\t%d\t%s\t%s\t%s\n",
|
||||
fprintf(fp, "%s\t%s\t%s\t%ld\t%s\t%s\t%d\t%d\t%s\t%s\t%s\n",
|
||||
parsedURL2Str(&p->url)->ptr,
|
||||
p->name->ptr, p->value->ptr, (long long) p->expires,
|
||||
p->name->ptr, p->value->ptr, (long)p->expires,
|
||||
p->domain->ptr, p->path->ptr, p->flag,
|
||||
p->version, str2charp(p->comment),
|
||||
(p->portl) ? portlist2str(p->portl)->ptr : "",
|
||||
|
Reference in New Issue
Block a user