]> granicus.if.org Git - curl/commit
cookies: create the cookiejar even if no cookies to save
authorDaniel Stenberg <daniel@haxx.se>
Thu, 22 Nov 2018 12:24:02 +0000 (13:24 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 23 Nov 2018 13:50:51 +0000 (14:50 +0100)
commita52e46f3900fb02fd45423c35d970703978fe6ff
treeea4e0d5c812b1133514a8eedee01b533f0281abd
parent2e496108534ed20c82cf96f77443e81605f78f92
cookies: create the cookiejar even if no cookies to save

Important for when the file is going to be read again and thus must not
contain old contents!

Adds test 327 to verify.

Reported-by: daboul on github
Fixes #3299
Closes #3300
lib/cookie.c
tests/data/Makefile.inc
tests/data/test1160
tests/data/test327 [new file with mode: 0644]