--- imapfilter/account.c 2004/02/09 22:03:12 1.7 +++ imapfilter/account.c 2004/02/11 00:03:46 1.8 @@ -12,6 +12,7 @@ #include "struct.h" +extern opts_t opts; extern unsigned int flags; account_t *accounts = NULL; /* First node of accounts linked list. */ @@ -88,7 +89,10 @@ if (string_decode(node->password)) return ERROR_CONFIG_PARSE; node->passwdattr = PASSWORD_PLAIN; - debug("PASSWORD: ''\n"); + if (opts.debug == 1) + debug("PASSWORD: *\n"); + else + debug("PASSWORD: '%s'\n", node->password); } else flags |= FLAG_BLANK_PASSWORD;