summaryrefslogtreecommitdiff
path: root/avserver.c
diff options
context:
space:
mode:
Diffstat (limited to 'avserver.c')
-rw-r--r--avserver.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/avserver.c b/avserver.c
index 2b028a3f4e..1b11cbf973 100644
--- a/avserver.c
+++ b/avserver.c
@@ -320,6 +320,11 @@ 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)