diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-03-23 11:33:32 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-05-13 15:53:06 +0100 |
commit | 64f607760bc27a745ee8946c2425349360424564 (patch) | |
tree | 4ed7eff0adc175dcc8ba8366aa0da4ab4bc39334 /desktop/netsurf.c | |
parent | 05932293f659c0edfaa0352208ff2a89712b71ac (diff) | |
download | netsurf-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.c | 5 |
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); |