diff --git a/src/config.c b/src/config.c index 15a3d12d..e65a76fc 100644 --- a/src/config.c +++ b/src/config.c @@ -87,8 +87,6 @@ int config_parse_file(const char *filename) return CONFIG_EBADROOT; } - xmlDocDump(stdout, doc); - _parse_root(doc, node->xmlChildrenNode); xmlFreeDoc(doc); diff --git a/src/thread/thread.c b/src/thread/thread.c index 2e1360f5..1e420bf9 100644 --- a/src/thread/thread.c +++ b/src/thread/thread.c @@ -114,6 +114,11 @@ void thread_initialize(void) { thread_t *thread; + /* this must be called to init pthreads-win32 */ +#ifdef _WIN32 + ptw32_processInitialize(); +#endif + /* set up logging */ log_initialize();