From e375231b8bba4de4eff583272eb18f6af201a9a8 Mon Sep 17 00:00:00 2001 From: Emil Date: Wed, 2 Aug 2023 14:50:21 -0600 Subject: [PATCH] NDEBUG and formatting --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index 0b8265d..c1b887c 100644 --- a/src/main.c +++ b/src/main.c @@ -46,8 +46,8 @@ main(int argc, if (parse_creds(&credentials, CREDS_FILE)) { ERR(CREDS_ERROR, "Cannot parse credentials"); } -#ifdef NDEBUG - fprintf(stderr, "-- %s:%d %s %s %s --\n", server, port, channel, credentials.username, credentials.password ? credentials.password : "NULL"); +#ifndef NDEBUG + fprintf(stderr, "-- %s:%d %s username:%s pass:%s --\n", server, port, channel, credentials.username, credentials.password ? credentials.password : "NULL"); #endif /* NDEBUG */ /* initialization (1 means bad , 0 mean good > ; ) */