aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-03-24 12:07:31 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-03-24 12:07:31 +0000
commitce074df814d97841c8239e335c6f4560f8942025 (patch)
tree83a0fcd6636e241654f33e0ef5ed64ca5da98d2b
parent7d10823f6a6b4c5a0d57e402d8319f57e2fc989d (diff)
downloadbusybox-w32-ce074df814d97841c8239e335c6f4560f8942025.tar.gz
busybox-w32-ce074df814d97841c8239e335c6f4560f8942025.tar.bz2
busybox-w32-ce074df814d97841c8239e335c6f4560f8942025.zip
inetd: indent labels uniformly
-rw-r--r--networking/inetd.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/networking/inetd.c b/networking/inetd.c
index c037d114a..8016823c0 100644
--- a/networking/inetd.c
+++ b/networking/inetd.c
@@ -534,7 +534,7 @@ static char *skip(char **cpp) /* int report; */
534 return NULL; 534 return NULL;
535 } 535 }
536 536
537again: 537 again:
538 while (*cp == ' ' || *cp == '\t') 538 while (*cp == ' ' || *cp == '\t')
539 cp++; 539 cp++;
540 if (*cp == '\0') { 540 if (*cp == '\0') {
@@ -687,7 +687,7 @@ static servtab_t *getconfigent(void)
687 *p++ = '\0'; 687 *p++ = '\0';
688 l = strtol(p, &ccp, 0); 688 l = strtol(p, &ccp, 0);
689 if (ccp == p || l < 0 || l > INT_MAX) { 689 if (ccp == p || l < 0 || l > INT_MAX) {
690 badafterall: 690 badafterall:
691 bb_error_msg("%s/%s: bad rpc version", sep->se_service, p); 691 bb_error_msg("%s/%s: bad rpc version", sep->se_service, p);
692 goto more; 692 goto more;
693 } 693 }
@@ -823,7 +823,7 @@ static servtab_t *getconfigent(void)
823 } 823 }
824 } 824 }
825/* XXX BUG?: is this skip: label supposed to remain? */ 825/* XXX BUG?: is this skip: label supposed to remain? */
826 skip: 826 skip:
827 nsep = nsep->se_next; 827 nsep = nsep->se_next;
828 } 828 }
829 829
@@ -1094,7 +1094,7 @@ static void config(int sig ATTRIBUTE_UNUSED)
1094 break; 1094 break;
1095#endif /* FEATURE_IPV6 */ 1095#endif /* FEATURE_IPV6 */
1096 } 1096 }
1097 serv_unknown: 1097 serv_unknown:
1098 if (cp->se_next != NULL) { 1098 if (cp->se_next != NULL) {
1099 servtab_t *tmp = cp; 1099 servtab_t *tmp = cp;
1100 1100
@@ -1509,7 +1509,7 @@ int inetd_main(int argc, char *argv[])
1509 sigaction(SIGPIPE, &sapipe, NULL); 1509 sigaction(SIGPIPE, &sapipe, NULL);
1510 execv(sep->se_server, sep->se_argv); 1510 execv(sep->se_server, sep->se_argv);
1511 bb_perror_msg("execv %s", sep->se_server); 1511 bb_perror_msg("execv %s", sep->se_server);
1512do_exit1: 1512 do_exit1:
1513 if (sep->se_socktype != SOCK_STREAM) 1513 if (sep->se_socktype != SOCK_STREAM)
1514 recv(0, buf, sizeof(buf), 0); 1514 recv(0, buf, sizeof(buf), 0);
1515 _exit(1); 1515 _exit(1);