summaryrefslogtreecommitdiff
path: root/desktop/netsurf.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2013-05-23 11:50:57 +0100
committerVincent Sanders <vince@netsurf-browser.org>2013-05-23 11:50:57 +0100
commit35dacc36716bdac66bc2673a6725083dc265d310 (patch)
tree25592a597fcb355c71b0cb6feabc48f703de023b /desktop/netsurf.c
parent12ff7a47f4426bc44103f0123d44fc111608ae18 (diff)
downloadnetsurf-35dacc36716bdac66bc2673a6725083dc265d310.tar.gz
netsurf-35dacc36716bdac66bc2673a6725083dc265d310.tar.bz2
move the logging initialisation out to be call by frontends
This allows each frontend to pass a distinct callback to configure the output file stream appropriately for their use.
Diffstat (limited to 'desktop/netsurf.c')
-rw-r--r--desktop/netsurf.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/desktop/netsurf.c b/desktop/netsurf.c
index a67321191..b6e342c58 100644
--- a/desktop/netsurf.c
+++ b/desktop/netsurf.c
@@ -143,15 +143,6 @@ nserror netsurf_init(int *pargc,
signal(SIGPIPE, SIG_IGN);
#endif
-#ifndef HAVE_STDOUT
- ret = nslog_init(nslog_ensure, pargc, *pargv);
-#else
- ret = nslog_init(NULL, pargc, *pargv);
-#endif
-
- if (ret != NSERROR_OK)
- return ret;
-
LOG(("version '%s'", netsurf_version));
if (uname(&utsname) < 0)
LOG(("Failed to extract machine information"));