From 995412e0063ea3b8c2f27ba6021d9085a6c2cefc Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sun, 3 Nov 2002 09:39:53 +0000 Subject: [project @ 2002-11-03 09:39:53 by bursa] Caching bug fix. svn path=/import/netsurf/; revision=48 --- desktop/netsurf.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'desktop') diff --git a/desktop/netsurf.c b/desktop/netsurf.c index 8597462d4..e92dea016 100644 --- a/desktop/netsurf.c +++ b/desktop/netsurf.c @@ -1,11 +1,12 @@ /** - * $Id: netsurf.c,v 1.3 2002/10/15 10:41:12 monkeyson Exp $ + * $Id: netsurf.c,v 1.4 2002/11/03 09:39:53 bursa Exp $ */ #include "netsurf/desktop/netsurf.h" #include "netsurf/desktop/fetch.h" #include "netsurf/desktop/browser.h" #include "netsurf/desktop/gui.h" +#include "netsurf/desktop/cache.h" #include int netsurf_quit = 0; @@ -24,6 +25,13 @@ void netsurf_init(int argc, char** argv) { stdout = stderr; gui_init(argc, argv); + cache_init(); +} + + +void netsurf_exit(void) +{ + cache_quit(); } @@ -35,6 +43,7 @@ int main(int argc, char** argv) netsurf_poll(); fprintf(stderr, "Netsurf quit!\n"); + netsurf_exit(); return 0; } -- cgit v1.2.1