From 2b52e9e64b2fc32242c207a0784521b2cf6d1976 Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Tue, 14 Sep 1999 02:17:54 -0400 Subject: snapshot of project "lynx", label v2-8-3dev_9 --- src/LYexit.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'src/LYexit.c') 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 #include #include -#ifdef SYSLOG_REQUESTED_URLS -#include -#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 -- cgit 1.4.1-2-gfad0