summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2003-12-28 02:35:46 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2003-12-28 02:35:46 +0000
commitb0b2ec850f74d3dd8bd2fffa76fbd2af20b42705 (patch)
tree5edf5a114b68394c737318f1b04e6dfd4789fef6 /desktop
parent7e7b70e1713590f39b0d3891bcdef6584901b2ab (diff)
downloadnetsurf-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 'desktop')
-rw-r--r--desktop/netsurf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/desktop/netsurf.c b/desktop/netsurf.c
index e64ac14bf..f8a632cde 100644
--- a/desktop/netsurf.c
+++ b/desktop/netsurf.c
@@ -16,6 +16,7 @@
#include "netsurf/desktop/browser.h"
#include "netsurf/desktop/gui.h"
#include "netsurf/utils/log.h"
+#include "netsurf/utils/utils.h"
bool netsurf_quit = false;
@@ -78,5 +79,6 @@ void netsurf_exit(void)
{
cache_quit();
fetch_quit();
+ clean_cookiejar();
gui_quit();
}