summaryrefslogtreecommitdiff
blob: f462ad082408dd992705d34a421b201f9b35264e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff -ruN tpop3d-1.5.3/auth_mysql.c tpop3d-1.5.3-invalid-user-message-patch/auth_mysql.c
--- tpop3d-1.5.3/auth_mysql.c	2003-07-15 01:31:20.000000000 +0200
+++ tpop3d-1.5.3-invalid-user-message-patch/auth_mysql.c	2004-08-26 15:02:03.033018776 +0200
@@ -267,7 +267,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;
                 }
 
@@ -367,7 +367,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;
                 }