aboutsummaryrefslogtreecommitdiff
path: root/networking/inetd.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/inetd.c')
-rw-r--r--networking/inetd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/inetd.c b/networking/inetd.c
index fb2fbe323..e63edcd9d 100644
--- a/networking/inetd.c
+++ b/networking/inetd.c
@@ -1449,7 +1449,7 @@ int inetd_main(int argc UNUSED_PARAM, char **argv)
1449 else 1449 else
1450 sep->se_builtin->bi_dgram_fn(ctrl, sep); 1450 sep->se_builtin->bi_dgram_fn(ctrl, sep);
1451 if (pid) /* we did fork */ 1451 if (pid) /* we did fork */
1452 _exit(EXIT_FAILURE); 1452 _exit_FAILURE();
1453 maybe_close(accepted_fd); 1453 maybe_close(accepted_fd);
1454 continue; /* -> check next fd in fd set */ 1454 continue; /* -> check next fd in fd set */
1455 } 1455 }
@@ -1530,7 +1530,7 @@ int inetd_main(int argc UNUSED_PARAM, char **argv)
1530 /* eat packet in udp case */ 1530 /* eat packet in udp case */
1531 if (sep->se_socktype != SOCK_STREAM) 1531 if (sep->se_socktype != SOCK_STREAM)
1532 recv(0, line, LINE_SIZE, MSG_DONTWAIT); 1532 recv(0, line, LINE_SIZE, MSG_DONTWAIT);
1533 _exit(EXIT_FAILURE); 1533 _exit_FAILURE();
1534 } /* for (sep = servtab...) */ 1534 } /* for (sep = servtab...) */
1535 } /* for (;;) */ 1535 } /* for (;;) */
1536} 1536}