From ab499add5ac6bc8c61b4fe32838a2a33f81e4867 Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 4 Oct 2022 10:13:36 +0200 Subject: Redirect debug output to stderr --- net_rewrite.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'net_rewrite.c') diff --git a/net_rewrite.c b/net_rewrite.c index 3ab9726..55a3520 100644 --- a/net_rewrite.c +++ b/net_rewrite.c @@ -19,7 +19,7 @@ static xmpp_ctx_t* ctx; void net_init(void) { - printf("limox: net_init()\n"); + fprintf(stderr, "limox: net_init()\n"); xmpp_initialize(); log = xmpp_get_default_logger(XMPP_LEVEL_DEBUG); // or NULL for silence @@ -34,7 +34,7 @@ void net_run_once(void) { void net_quit(void) { - printf("limox: net_quit()\n"); + fprintf(stderr, "limox: net_quit()\n"); xmpp_ctx_free(ctx); xmpp_shutdown(); -- cgit v1.2.3-70-g09d2