From 64f607760bc27a745ee8946c2425349360424564 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 23 Mar 2014 11:33:32 +0000 Subject: add backing store storage path to browser initialisation --- desktop/netsurf.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'desktop/netsurf.c') diff --git a/desktop/netsurf.c b/desktop/netsurf.c index 18ce1264f..e82233a01 100644 --- a/desktop/netsurf.c +++ b/desktop/netsurf.c @@ -128,7 +128,7 @@ nserror netsurf_register(struct netsurf_table *table) } /* exported interface documented in desktop/netsurf.h */ -nserror netsurf_init(const char *messages) +nserror netsurf_init(const char *messages, const char *store_path) { nserror ret; struct utsname utsname; @@ -197,8 +197,7 @@ nserror netsurf_init(const char *messages) hlcache_parameters.llcache.store.hysteresis = (hlcache_parameters.llcache.store.limit * 20) / 100;; /* set the path to the backing store */ - /** \todo set the backing store path properly */ - hlcache_parameters.llcache.store.path = "/tmp/ns"; + hlcache_parameters.llcache.store.path = store_path; /* image handler bitmap cache */ ret = image_cache_init(&image_cache_parameters); -- cgit v1.2.3