Do not translate the fromhost variable. It is always used for syslog messages.

This commit is contained in:
nekral-guest 2008-02-03 17:57:43 +00:00
parent 6e9078f16c
commit feb2e41181
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-02-03 Nicolas François <nicolas.francois@centraliens.net>
* src/login.c: Do not translate the fromhost variable. It is
always used for syslog messages.
2008-02-03 Nicolas François <nicolas.francois@centraliens.net>
* NEWS, lib/defines.h: Switch to the C locale before sending

View File

@ -560,10 +560,10 @@ int main (int argc, char **argv)
if (*cp)
snprintf (fromhost, sizeof fromhost,
_(" on '%.100s' from '%.200s'"), tty, cp);
" on '%.100s' from '%.200s'", tty, cp);
else
snprintf (fromhost, sizeof fromhost,
_(" on '%.100s'"), tty);
" on '%.100s'", tty);
top:
/* only allow ALARM sec. for login */