[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[tpop3d-discuss] Trivial logging bug in auth_mysql.c
From: |
Travis Miller |
Subject: |
[tpop3d-discuss] Trivial logging bug in auth_mysql.c |
Date: |
Mon, 16 Dec 2002 13:40:31 -0600 |
Looking through the mysql driver again, I believe I have found an
extremely trivial bug in the logging of bad uid's. The error message
logs the mailbox type instead of the the unix user. Patch against
CVS attached.
Travis
address@hidden
--- auth_mysql.c.orig 2002-12-16 13:27:17.000000000 -0600
+++ auth_mysql.c 2002-12-16 13:31:48.000000000 -0600
@@ -463,7 +463,7 @@
/* User was not lying (about her password) */
if (!parse_uid((const char*)row[2], &uid)) {
- log_print(LOG_ERR, _("auth_mysql_new_apop: unix user `%s'
for %s does not make sense"), row[3], who);
+ log_print(LOG_ERR, _("auth_mysql_new_apop: unix user `%s'
for %s does not make sense"), row[2], who);
break;
}
@@ -613,7 +613,7 @@
}
if (!parse_uid((const char*)row[2], &uid)) {
- log_print(LOG_ERR, _("auth_mysql_new_user_pass: unix user
`%s' for %s does not make sense"), row[3], who);
+ log_print(LOG_ERR, _("auth_mysql_new_user_pass: unix user
`%s' for %s does not make sense"), row[2], who);
break;
}
Message generated by Web-1 Hosting Webmail
http://www.web-1hosting.net
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [tpop3d-discuss] Trivial logging bug in auth_mysql.c,
Travis Miller <=