summaryrefslogtreecommitdiff
path: root/desktop/netsurf.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2002-11-03 09:39:53 +0000
committerJames Bursa <james@netsurf-browser.org>2002-11-03 09:39:53 +0000
commit995412e0063ea3b8c2f27ba6021d9085a6c2cefc (patch)
tree045969b925a03cb871540a1f0aa2eb8794d133a2 /desktop/netsurf.c
parent24080add5c78f09e0604b7ae180ec52209c86d1e (diff)
downloadnetsurf-995412e0063ea3b8c2f27ba6021d9085a6c2cefc.tar.gz
netsurf-995412e0063ea3b8c2f27ba6021d9085a6c2cefc.tar.bz2
[project @ 2002-11-03 09:39:53 by bursa]
Caching bug fix. svn path=/import/netsurf/; revision=48
Diffstat (limited to 'desktop/netsurf.c')
-rw-r--r--desktop/netsurf.c11
1 files changed, 10 insertions, 1 deletions
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 <stdlib.h>
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;
}