Use atexit() instead of defining a custom exit_program() interface.
This commit is contained in:
parent
bd680c7b49
commit
5e3f9979fa
8 changed files with 115 additions and 130 deletions
|
|
@ -323,11 +323,6 @@ static AVLFG random_state;
|
|||
|
||||
static FILE *logfile = NULL;
|
||||
|
||||
void exit_program(int ret)
|
||||
{
|
||||
exit(ret);
|
||||
}
|
||||
|
||||
/* FIXME: make avserver work with IPv6 */
|
||||
/* resolve host with also IP address parsing */
|
||||
static int resolve_host(struct in_addr *sin_addr, const char *hostname)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue