aboutsummaryrefslogtreecommitdiff
path: root/src/quit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/quit.c')
-rw-r--r--src/quit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/quit.c b/src/quit.c
index d6b2897..c20e032 100644
--- a/src/quit.c
+++ b/src/quit.c
@@ -2,7 +2,7 @@
quit.c
This file is part of GNU Anubis.
- Copyright (C) 2001-2014 The Anubis Team.
+ Copyright (C) 2001-2024 The Anubis Team.
GNU Anubis is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
@@ -21,14 +21,14 @@
#include "headers.h"
#include "extern.h"
-RETSIGTYPE
+void
sig_exit (int code)
{
info (NORMAL, _("Signal Caught. Exiting Cleanly..."));
quit (code);
}
-RETSIGTYPE
+void
sig_timeout (int code)
{
info (NORMAL, _("Timeout! Exiting..."));
@@ -51,7 +51,7 @@ free_mem (void)
xfree (options.ulogfile);
xfree (options.tracefile);
xfree (session.execpath);
- argcv_free (-1, session.execargs);
+ argv_free (session.execargs);
}
void

Return to:

Send suggestions and report system problems to the System administrator.