lots of silly indent fixes

This commit is contained in:
Denis Vlasenko
2006-10-03 19:56:34 +00:00
parent cf94446af7
commit 9275814a9e
12 changed files with 143 additions and 144 deletions

View File

@ -325,20 +325,20 @@ static int scan_ip_mask(const char *ipm, unsigned int *ip, unsigned int *mask)
i = 0;
while (*p) {
if (*p < '0' || *p > '9') {
if (*p == '.') {
i = scan_ip(&ipm, mask, 0);
return i != 32;
}
return -1;
if (*p < '0' || *p > '9') {
if (*p == '.') {
i = scan_ip(&ipm, mask, 0);
return i != 32;
}
i *= 10;
i += *p - '0';
p++;
return -1;
}
i *= 10;
i += *p - '0';
p++;
}
}
if (i > 32 || i < 0)
return -1;
return -1;
msk = 0x80000000;
*mask = 0;
while (i > 0) {
@ -553,7 +553,7 @@ static void parse_conf(const char *path, int flag)
} else if ((cf[1] == '.') && (cf[2] == '/' || cf[2] == 0)) {
++cf;
if (p > p0) {
while (*--p != '/'); /* omit previous dir */
while (*--p != '/') /* omit previous dir */;
}
continue;
}
@ -1571,8 +1571,8 @@ BAD_REQUEST:
/* protect out root */
goto BAD_REQUEST;
}
while (*--purl != '/'); /* omit previous dir */
continue;
while (*--purl != '/') /* omit previous dir */;
continue;
}
}
}