summaryrefslogtreecommitdiff
path: root/net_rewrite.c
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-10-04 10:13:36 +0200
committerxengineering <me@xengineering.eu>2022-10-04 10:13:36 +0200
commitab499add5ac6bc8c61b4fe32838a2a33f81e4867 (patch)
tree5624fe9054a69284f1fd4460db86df0e93e4a4f3 /net_rewrite.c
parentf621530188b3f87b156a92dd8315b7e87a2eba01 (diff)
downloadlimox-ab499add5ac6bc8c61b4fe32838a2a33f81e4867.tar
limox-ab499add5ac6bc8c61b4fe32838a2a33f81e4867.tar.zst
limox-ab499add5ac6bc8c61b4fe32838a2a33f81e4867.zip
Redirect debug output to stderr
Diffstat (limited to 'net_rewrite.c')
-rw-r--r--net_rewrite.c4
1 files changed, 2 insertions, 2 deletions
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();