Do not translate the fromhost variable. It is always used for syslog messages.
This commit is contained in:
parent
6e9078f16c
commit
feb2e41181
@ -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
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user