--- imapfilter/account.c 2004/02/09 17:34:56 1.6 +++ 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,11 +89,13 @@ if (string_decode(node->password)) return ERROR_CONFIG_PARSE; node->passwdattr = PASSWORD_PLAIN; + if (opts.debug == 1) + debug("PASSWORD: *\n"); + else + debug("PASSWORD: '%s'\n", node->password); } else flags |= FLAG_BLANK_PASSWORD; - debug("PASSWORD: '%s'\n", node->password); - strncat(node->server, line + m[6].rm_so, min(m[6].rm_eo - m[6].rm_so, SERVER_LEN - 1));