[hackers] [ubase] Remove unnecessary newline output from su || Wolfgang Corcoran-Mathe

From: <git_AT_suckless.org>
Date: Mon, 25 Aug 2014 16:37:39 +0200

commit 9859943d47552a32438c0a8b2a7f933d30f733f0
Author: Wolfgang Corcoran-Mathe <first.lord.of.teal_AT_gmail.com>
Date: Mon Aug 25 15:37:13 2014 +0100

    Remove unnecessary newline output from su

diff --git a/su.c b/su.c
index fe7e139..71268c1 100644
--- a/su.c
+++ b/su.c
_AT_@ -64,7 +64,7 @@ main(int argc, char *argv[])
 
         uid = getuid();
         if (uid) {
- pass = getpass("Password: "); putchar('
');
+ pass = getpass("Password: ");
                 if (!pass)
                         eprintf("getpass:");
                 if (pw_check(pw, pass) <= 0)
Received on Mon Aug 25 2014 - 16:37:39 CEST

This archive was generated by hypermail 2.3.0 : Mon Aug 25 2014 - 16:48:08 CEST