diff options
Diffstat (limited to 'libexec/uucpd/uucpd.c')
-rw-r--r-- | libexec/uucpd/uucpd.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/libexec/uucpd/uucpd.c b/libexec/uucpd/uucpd.c index 3de7ec763e6..20da023a83f 100644 --- a/libexec/uucpd/uucpd.c +++ b/libexec/uucpd/uucpd.c @@ -42,7 +42,7 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)uucpd.c 5.10 (Berkeley) 2/26/91";*/ -static char rcsid[] = "$Id: uucpd.c,v 1.13 1998/05/22 04:33:08 deraadt Exp $"; +static char rcsid[] = "$Id: uucpd.c,v 1.14 1998/07/05 18:48:58 deraadt Exp $"; #endif /* not lint */ /* @@ -170,7 +170,8 @@ struct sockaddr_in *sinp; alarm(60); do { - printf("login: "); fflush(stdout); + printf("login: "); + fflush(stdout); if (readline(user, sizeof user) < 0) { fprintf(stderr, "user read\n"); return; @@ -180,7 +181,8 @@ struct sockaddr_in *sinp; user[8] = '\0'; pw = getpwnam(user); if (pw == NULL) { - printf("Password: "); fflush(stdout); + printf("Password: "); + fflush(stdout); if (readline(passwd, sizeof passwd) < 0) { fprintf(stderr, "passwd read\n"); return; @@ -189,7 +191,8 @@ struct sockaddr_in *sinp; return; } if (pw->pw_passwd && *pw->pw_passwd != '\0') { - printf("Password: "); fflush(stdout); + printf("Password: "); + fflush(stdout); if (readline(passwd, sizeof passwd) < 0) { fprintf(stderr, "passwd read\n"); return; @@ -201,7 +204,7 @@ struct sockaddr_in *sinp; } } if (strcmp(pw->pw_shell, _PATH_UUCICO)) { - fprintf(stderr, "Login incorrect."); + fprintf(stderr, "Login incorrect.\n"); return; } alarm(0); |