diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2003-12-28 02:35:46 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2003-12-28 02:35:46 +0000 |
commit | b0b2ec850f74d3dd8bd2fffa76fbd2af20b42705 (patch) | |
tree | 5edf5a114b68394c737318f1b04e6dfd4789fef6 /riscos/about.c | |
parent | 7e7b70e1713590f39b0d3891bcdef6584901b2ab (diff) | |
download | netsurf-b0b2ec850f74d3dd8bd2fffa76fbd2af20b42705.tar.gz netsurf-b0b2ec850f74d3dd8bd2fffa76fbd2af20b42705.tar.bz2 |
[project @ 2003-12-28 02:35:46 by jmb]
Remove expired cookies from the cookiejar.
Cookies are removed every time a window is closed and when NetSurf is
quit.
/me slaps libcurl for not doing it itself.
Make cookie_create() read the cookie jar location from the messages file.
svn path=/import/netsurf/; revision=463
Diffstat (limited to 'riscos/about.c')
-rw-r--r-- | riscos/about.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/riscos/about.c b/riscos/about.c index 27b154ca6..d99befffa 100644 --- a/riscos/about.c +++ b/riscos/about.c @@ -266,7 +266,7 @@ void cookie_create(void) { exp[50], name[256], val[256]; unsigned int expiry; - fp = fopen("Choices:WWW.NetSurf.Cookies", "r"); + fp = fopen(messages_get("cookiejar"), "r"); if (!fp) { LOG(("Failed to open cookie jar")); return; |