inetd: indent labels uniformly
This commit is contained in:
parent
7d10823f6a
commit
ce074df814
@ -534,7 +534,7 @@ static char *skip(char **cpp) /* int report; */
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
again:
|
again:
|
||||||
while (*cp == ' ' || *cp == '\t')
|
while (*cp == ' ' || *cp == '\t')
|
||||||
cp++;
|
cp++;
|
||||||
if (*cp == '\0') {
|
if (*cp == '\0') {
|
||||||
@ -687,7 +687,7 @@ static servtab_t *getconfigent(void)
|
|||||||
*p++ = '\0';
|
*p++ = '\0';
|
||||||
l = strtol(p, &ccp, 0);
|
l = strtol(p, &ccp, 0);
|
||||||
if (ccp == p || l < 0 || l > INT_MAX) {
|
if (ccp == p || l < 0 || l > INT_MAX) {
|
||||||
badafterall:
|
badafterall:
|
||||||
bb_error_msg("%s/%s: bad rpc version", sep->se_service, p);
|
bb_error_msg("%s/%s: bad rpc version", sep->se_service, p);
|
||||||
goto more;
|
goto more;
|
||||||
}
|
}
|
||||||
@ -823,7 +823,7 @@ static servtab_t *getconfigent(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* XXX BUG?: is this skip: label supposed to remain? */
|
/* XXX BUG?: is this skip: label supposed to remain? */
|
||||||
skip:
|
skip:
|
||||||
nsep = nsep->se_next;
|
nsep = nsep->se_next;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1094,7 +1094,7 @@ static void config(int sig ATTRIBUTE_UNUSED)
|
|||||||
break;
|
break;
|
||||||
#endif /* FEATURE_IPV6 */
|
#endif /* FEATURE_IPV6 */
|
||||||
}
|
}
|
||||||
serv_unknown:
|
serv_unknown:
|
||||||
if (cp->se_next != NULL) {
|
if (cp->se_next != NULL) {
|
||||||
servtab_t *tmp = cp;
|
servtab_t *tmp = cp;
|
||||||
|
|
||||||
@ -1509,7 +1509,7 @@ int inetd_main(int argc, char *argv[])
|
|||||||
sigaction(SIGPIPE, &sapipe, NULL);
|
sigaction(SIGPIPE, &sapipe, NULL);
|
||||||
execv(sep->se_server, sep->se_argv);
|
execv(sep->se_server, sep->se_argv);
|
||||||
bb_perror_msg("execv %s", sep->se_server);
|
bb_perror_msg("execv %s", sep->se_server);
|
||||||
do_exit1:
|
do_exit1:
|
||||||
if (sep->se_socktype != SOCK_STREAM)
|
if (sep->se_socktype != SOCK_STREAM)
|
||||||
recv(0, buf, sizeof(buf), 0);
|
recv(0, buf, sizeof(buf), 0);
|
||||||
_exit(1);
|
_exit(1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user