]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
Do not translate the fromhost variable. It is always used for syslog messages.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sun, 3 Feb 2008 17:57:43 +0000 (17:57 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Sun, 3 Feb 2008 17:57:43 +0000 (17:57 +0000)
ChangeLog
src/login.c

index b30ddf335c59f6eaff2df75e63207f9bf6c72440..7907ad78e2e3c0584f1550bbf076f5b1b9cf96f6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 8af1b4715de401cfe2bd4e7e62f68e736ca823c0..779e1dfa01c9ac969a3a5fcd067366da35c7ac48 100644 (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 */