diff options
Diffstat (limited to 'usr.bin/ftp/ruserpass.c')
-rw-r--r-- | usr.bin/ftp/ruserpass.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/ftp/ruserpass.c b/usr.bin/ftp/ruserpass.c index bc19f62..c0e7f95 100644 --- a/usr.bin/ftp/ruserpass.c +++ b/usr.bin/ftp/ruserpass.c @@ -1,4 +1,4 @@ -/* $Id$ */ +/* $Id: ruserpass.c,v 1.7 1997/12/13 20:38:20 pst Exp $ */ /* $NetBSD: ruserpass.c,v 1.14.2.1 1997/11/18 01:02:05 mellon Exp $ */ /* @@ -39,7 +39,7 @@ #if 0 static char sccsid[] = "@(#)ruserpass.c 8.4 (Berkeley) 4/27/95"; #else -__RCSID("$Id$"); +__RCSID("$Id: ruserpass.c,v 1.7 1997/12/13 20:38:20 pst Exp $"); __RCSID_SOURCE("$NetBSD: ruserpass.c,v 1.14.2.1 1997/11/18 01:02:05 mellon Exp $"); #endif #endif /* not lint */ @@ -149,7 +149,7 @@ next: while ((t = token()) && t != MACH && t != DEFAULT) switch(t) { case LOGIN: - if (token()) + if (token()) { if (*aname == NULL) { *aname = strdup(tokval); if (*aname == NULL) @@ -158,6 +158,7 @@ next: if (strcmp(*aname, tokval)) goto next; } + } break; case PASSWD: if ((*aname == NULL || strcmp(*aname, "anonymous")) && |