NDEBUG and formatting

This commit is contained in:
Emil 2023-08-02 14:50:21 -06:00
parent fdf2597b77
commit e375231b8b

View File

@ -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 > ; ) */