diff options
Diffstat (limited to 'networking')
-rw-r--r-- | networking/arping.c | 2 | ||||
-rw-r--r-- | networking/inetd.c | 2 | ||||
-rw-r--r-- | networking/nc.c | 2 | ||||
-rw-r--r-- | networking/telnetd.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/networking/arping.c b/networking/arping.c index d44d7d6..86f0221 100644 --- a/networking/arping.c +++ b/networking/arping.c @@ -159,7 +159,7 @@ static void finish(void) if (option_mask32 & DAD) exit(!!received); if (option_mask32 & UNSOLICITED) - exit(EXIT_SUCCESS); + exit_SUCCESS(); exit(!received); } diff --git a/networking/inetd.c b/networking/inetd.c index e5352a5..e71be51 100644 --- a/networking/inetd.c +++ b/networking/inetd.c @@ -1208,7 +1208,7 @@ static void clean_up_and_exit(int sig UNUSED_PARAM) close(sep->se_fd); } remove_pidfile_std_path_and_ext("inetd"); - exit(EXIT_SUCCESS); + exit_SUCCESS(); } int inetd_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; diff --git a/networking/nc.c b/networking/nc.c index d351bf7..ab13163 100644 --- a/networking/nc.c +++ b/networking/nc.c @@ -268,7 +268,7 @@ int nc_main(int argc, char **argv) nread = safe_read(pfds[fdidx].fd, iobuf, COMMON_BUFSIZE); if (fdidx != 0) { if (nread < 1) - exit(EXIT_SUCCESS); + exit_SUCCESS(); ofd = STDOUT_FILENO; } else { if (nread < 1) { diff --git a/networking/telnetd.c b/networking/telnetd.c index 581da19..0805e46 100644 --- a/networking/telnetd.c +++ b/networking/telnetd.c @@ -582,7 +582,7 @@ free_session(struct tsession *ts) struct tsession *t; if (option_mask32 & OPT_INETD) - exit(EXIT_SUCCESS); + exit_SUCCESS(); /* Unlink this telnet session from the session list */ t = G.sessions; |