about summary refs log tree commit diff stats
path: root/src/LYexit.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1999-09-14 02:17:54 -0400
committerThomas E. Dickey <dickey@invisible-island.net>1999-09-14 02:17:54 -0400
commit2b52e9e64b2fc32242c207a0784521b2cf6d1976 (patch)
tree380b158ac389fc05813d55672b0b77bb0817f1dd /src/LYexit.c
parentab1d1ae525ff4bed44e3ca2030fa655ad7c5bc7d (diff)
downloadlynx-snapshots-2b52e9e64b2fc32242c207a0784521b2cf6d1976.tar.gz
snapshot of project "lynx", label v2-8-3dev_9
Diffstat (limited to 'src/LYexit.c')
-rw-r--r--src/LYexit.c12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/LYexit.c b/src/LYexit.c
index 75046338..3fd90cac 100644
--- a/src/LYexit.c
+++ b/src/LYexit.c
@@ -9,9 +9,6 @@
 #include <LYSignal.h>
 #include <LYClean.h>
 #include <LYMainLoop.h>
-#ifdef SYSLOG_REQUESTED_URLS
-#include <syslog.h>
-#endif /* SYSLOG_REQUESTED_URLS */
 #endif /* !VMS */
 
 /*
@@ -145,12 +142,9 @@ PUBLIC void LYexit ARGS1(
      */
     LYCompleteExit();
 
-#ifndef VMS
-#ifdef SYSLOG_REQUESTED_URLS
-    syslog(LOG_INFO, "Session over");
-    closelog();
-#endif /* SYSLOG_REQUESTED_URLS */
-#endif /* !VMS */
+#if !defined(VMS) && defined(SYSLOG_REQUESTED_URLS)
+    LYCloselog();
+#endif /* !VMS && SYSLOG_REQUESTED_URLS */
 
 #ifdef exit
 /*  Make sure we use stdlib exit and not LYexit. - GAB