diff options
author | Tatsuya Kinoshita <tats@debian.org> | 2015-01-15 10:13:51 +0000 |
---|---|---|
committer | Tatsuya Kinoshita <tats@debian.org> | 2015-01-15 10:13:51 +0000 |
commit | 5e9545756b8387338febc48874c93df7e0b8e8ee (patch) | |
tree | b230a53cb985e678a4ed19d9539d2ae033d5ed87 /cookie.c | |
parent | Correct printf arguments and use asprintf (diff) | |
download | w3m-5e9545756b8387338febc48874c93df7e0b8e8ee.tar.gz w3m-5e9545756b8387338febc48874c93df7e0b8e8ee.zip |
Do not use C99 printf format specifiers and asprintf
Diffstat (limited to 'cookie.c')
-rw-r--r-- | cookie.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 : "", |