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:
@@ -161,13 +161,14 @@ next:
|
|||||||
while ((t = token()) && t != MACH && t != DEFAULT) switch(t) {
|
while ((t = token()) && t != MACH && t != DEFAULT) switch(t) {
|
||||||
|
|
||||||
case LOGIN:
|
case LOGIN:
|
||||||
if (token())
|
if (token()) {
|
||||||
if (*aname == 0) {
|
if (*aname == 0) {
|
||||||
*aname = strdup(tokval);
|
*aname = strdup(tokval);
|
||||||
} else {
|
} else {
|
||||||
if (strcmp(*aname, tokval))
|
if (strcmp(*aname, tokval))
|
||||||
goto next;
|
goto next;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case PASSWD:
|
case PASSWD:
|
||||||
if ((*aname == NULL || strcmp(*aname, "anonymous")) &&
|
if ((*aname == NULL || strcmp(*aname, "anonymous")) &&
|
||||||
|
|||||||
Reference in New Issue
Block a user