summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wsman.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/wsman.c b/src/wsman.c
index cc01f9c..840cd85 100644
--- a/src/wsman.c
+++ b/src/wsman.c
@@ -52,6 +52,7 @@
#include "wsman-client-api.h"
#include "wsman-client-transport.h"
#include "wsman-client-options.h"
+#include "wsman-debug.h"
static void
@@ -75,7 +76,7 @@ wsman_output(WsXmlDocH doc)
return;
}
-
+/*
static void
debug_message_handler(const char *str, debug_level_e level, void *user_data)
{
@@ -90,11 +91,11 @@ debug_message_handler(const char *str, debug_level_e level, void *user_data)
fprintf(stderr, "%s %s\n", timestr, str);
}
}
-
+*/
static void
initialize_logging(void)
{
- debug_add_handler(debug_message_handler, DEBUG_LEVEL_ALWAYS, NULL);
+ debug_add_handler(wsman_debug_message_handler, DEBUG_LEVEL_ALWAYS, NULL);
}