Commit 4e07d766 4e07d766a7e39a783a54fffa7903282afb19d2a3 by Sergey Poznyakoff

Minor fix

1 parent 37e7e4df
...@@ -42,7 +42,7 @@ imap4d_login (struct imap4d_command *command, char *arg) ...@@ -42,7 +42,7 @@ imap4d_login (struct imap4d_command *command, char *arg)
42 42
43 if (auth_data == NULL) 43 if (auth_data == NULL)
44 { 44 {
45 syslog (LOG_INFO, _("User '%s': nonexistent"), arg); 45 syslog (LOG_INFO, _("User '%s': nonexistent"), username);
46 return util_finish (command, RESP_NO, "User name or passwd rejected"); 46 return util_finish (command, RESP_NO, "User name or passwd rejected");
47 } 47 }
48 48
...@@ -50,7 +50,7 @@ imap4d_login (struct imap4d_command *command, char *arg) ...@@ -50,7 +50,7 @@ imap4d_login (struct imap4d_command *command, char *arg)
50 openlog ("gnu-imap4d", LOG_PID, log_facility); 50 openlog ("gnu-imap4d", LOG_PID, log_facility);
51 if (rc) 51 if (rc)
52 { 52 {
53 syslog (LOG_INFO, _("Login failed: %s"), arg); 53 syslog (LOG_INFO, _("Login failed: %s"), username);
54 return util_finish (command, RESP_NO, "User name or passwd rejected"); 54 return util_finish (command, RESP_NO, "User name or passwd rejected");
55 } 55 }
56 56
......