Deleted Added
full compact
clean_exit.c (44744) clean_exit.c (257398)
1 /*
2 * clean_exit() cleans up and terminates the program. It should be called
3 * instead of exit() when for some reason the real network daemon will not or
4 * cannot be run. Reason: in the case of a datagram-oriented service we must
5 * discard the not-yet received data from the client. Otherwise, inetd will
6 * see the same datagram again and again, and go into a loop.
7 *
8 * Author: Wietse Venema, Eindhoven University of Technology, The Netherlands.
9 */
10
11#ifndef lint
12static char sccsid[] = "@(#) clean_exit.c 1.4 94/12/28 17:42:19";
13#endif
14
15#include <stdio.h>
1 /*
2 * clean_exit() cleans up and terminates the program. It should be called
3 * instead of exit() when for some reason the real network daemon will not or
4 * cannot be run. Reason: in the case of a datagram-oriented service we must
5 * discard the not-yet received data from the client. Otherwise, inetd will
6 * see the same datagram again and again, and go into a loop.
7 *
8 * Author: Wietse Venema, Eindhoven University of Technology, The Netherlands.
9 */
10
11#ifndef lint
12static char sccsid[] = "@(#) clean_exit.c 1.4 94/12/28 17:42:19";
13#endif
14
15#include <stdio.h>
16#include <unistd.h>
16
17extern void exit();
18
19#include "tcpd.h"
20
21/* clean_exit - clean up and exit */
22
23void clean_exit(request)

--- 19 unchanged lines hidden ---
17
18extern void exit();
19
20#include "tcpd.h"
21
22/* clean_exit - clean up and exit */
23
24void clean_exit(request)

--- 19 unchanged lines hidden ---