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 --- riscos/window.c | 1 + 1 file changed, 1 insertion(+) (limited to 'riscos/window.c') diff --git a/riscos/window.c b/riscos/window.c index 8774f31e3..01a8a5b96 100644 --- a/riscos/window.c +++ b/riscos/window.c @@ -703,6 +703,7 @@ bool ro_gui_window_keypress(gui_window *g, int key, bool toolbar) case wimp_KEY_CONTROL + wimp_KEY_F2: /* Close window. */ browser_window_destroy(g->data.browser.bw, true); + clean_cookiejar(); return true; case wimp_KEY_RETURN: -- cgit v1.2.3