diff --git a/ChangeLog b/ChangeLog index b30ddf33..7907ad78 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-02-03 Nicolas François + + * src/login.c: Do not translate the fromhost variable. It is + always used for syslog messages. + 2008-02-03 Nicolas François * NEWS, lib/defines.h: Switch to the C locale before sending diff --git a/src/login.c b/src/login.c index 8af1b471..779e1dfa 100644 --- a/src/login.c +++ b/src/login.c @@ -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 */