summaryrefslogtreecommitdiff
path: root/debug/netsurfd.c
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2004-06-21 15:09:59 +0000
committerJames Bursa <james@netsurf-browser.org>2004-06-21 15:09:59 +0000
commitb4723c1d05819d4e47fc59254f5ad8c9d6d62db3 (patch)
tree4242fc6b5d7c9f3649140f0e86b1b39b338e9459 /debug/netsurfd.c
parent6e5d77e894d9b76d9bd9ed19b6d506dc8f26d454 (diff)
downloadnetsurf-b4723c1d05819d4e47fc59254f5ad8c9d6d62db3.tar.gz
netsurf-b4723c1d05819d4e47fc59254f5ad8c9d6d62db3.tar.bz2
[project @ 2004-06-21 15:09:58 by bursa]
Merge memory cache into content module. svn path=/import/netsurf/; revision=986
Diffstat (limited to 'debug/netsurfd.c')
-rw-r--r--debug/netsurfd.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/debug/netsurfd.c b/debug/netsurfd.c
index b2b618bce..c539e2df0 100644
--- a/debug/netsurfd.c
+++ b/debug/netsurfd.c
@@ -10,7 +10,6 @@
#include <string.h>
#include "netsurf/utils/config.h"
#include "netsurf/content/fetch.h"
-#include "netsurf/content/cache.h"
#include "netsurf/content/content.h"
#include "netsurf/content/fetchcache.h"
#include "netsurf/desktop/options.h"
@@ -45,7 +44,6 @@ int main(int argc, char *argv[])
struct content *c;
fetch_init();
- cache_init();
fetchcache_init();
url_init();
save_complete_init();
@@ -70,7 +68,6 @@ int main(int argc, char *argv[])
destroyed = 1;
puts("=== FAILURE, dumping cache");
}
- cache_dump();
if (!destroyed) {
/*while (1)
schedule_run();*/
@@ -85,10 +82,10 @@ int main(int argc, char *argv[])
content_remove_user(c, callback, 0, 0);
c = 0;
}
+ content_clean();
}
/* options_write("options"); */
- cache_quit();
fetch_quit();
return 0;