[project @ 2003-12-30 16:47:16 by jmb]

Read cookie file from the correct path

svn path=/import/netsurf/; revision=472
This commit is contained in:
John Mark Bell 2003-12-30 16:47:16 +00:00
parent 76e2269df3
commit 25ec7fcc34
2 changed files with 2 additions and 2 deletions

View File

@ -266,7 +266,7 @@ void cookie_create(void) {
exp[50], name[256], val[256];
unsigned int expiry;
fp = fopen(messages_get("cookiejar"), "r");
fp = fopen(messages_get("cookiefile"), "r");
if (!fp) {
LOG(("Failed to open cookie jar"));
return;

View File

@ -334,7 +334,7 @@ void clean_cookiejar(void) {
exp[50], name[256], val[256];
long int expiry;
fp = fopen(messages_get("cookiejar"), "r");
fp = fopen(messages_get("cookiefile"), "r");
if (!fp) {
LOG(("Failed to open cookie jar"));
return;