summaryrefslogtreecommitdiff
path: root/desktop/netsurf.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-03-23 11:33:32 +0000
committerVincent Sanders <vince@kyllikki.org>2014-05-13 15:53:06 +0100
commit64f607760bc27a745ee8946c2425349360424564 (patch)
tree4ed7eff0adc175dcc8ba8366aa0da4ab4bc39334 /desktop/netsurf.c
parent05932293f659c0edfaa0352208ff2a89712b71ac (diff)
downloadnetsurf-64f607760bc27a745ee8946c2425349360424564.tar.gz
netsurf-64f607760bc27a745ee8946c2425349360424564.tar.bz2
add backing store storage path to browser initialisation
Diffstat (limited to 'desktop/netsurf.c')
-rw-r--r--desktop/netsurf.c5
1 files changed, 2 insertions, 3 deletions
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);