add some if-braces

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5503 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1999-03-11 13:54:58 +00:00
parent c5eb642a7f
commit 4987af42c1

View File

@@ -161,13 +161,14 @@ next:
while ((t = token()) && t != MACH && t != DEFAULT) switch(t) {
case LOGIN:
if (token())
if (token()) {
if (*aname == 0) {
*aname = strdup(tokval);
} else {
if (strcmp(*aname, tokval))
goto next;
}
}
break;
case PASSWD:
if ((*aname == NULL || strcmp(*aname, "anonymous")) &&