From b0b2ec850f74d3dd8bd2fffa76fbd2af20b42705 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sun, 28 Dec 2003 02:35:46 +0000 Subject: [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 --- desktop/netsurf.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'desktop') 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(); } -- cgit v1.2.3