From feb2e4118168167ca97338980b4a0795ef7bad15 Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Sun, 3 Feb 2008 17:57:43 +0000 Subject: [PATCH] Do not translate the fromhost variable. It is always used for syslog messages. --- ChangeLog | 5 +++++ src/login.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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 */