summaryrefslogtreecommitdiff
path: root/desktop/netsurf.c
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/netsurf.c')
-rw-r--r--desktop/netsurf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/desktop/netsurf.c b/desktop/netsurf.c
index d294073ba..76da91a89 100644
--- a/desktop/netsurf.c
+++ b/desktop/netsurf.c
@@ -210,7 +210,10 @@ nserror netsurf_init(const char *messages, struct gui_table *gt)
setlocale(LC_ALL, "C");
- fetch_init();
+ /* initialise the fetchers */
+ error = fetch_init();
+ if (error != NSERROR_OK)
+ return error;
/* Initialise the hlcache and allow it to init the llcache for us */
hlcache_initialise(&hlcache_parameters);