You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
715 B

--- src/main.c.orig Tue May 20 00:52:58 2003
+++ src/main.c Thu Jun 26 15:42:16 2003
@@ -16,6 +16,10 @@
#include "setenv.h"
#include "strftime.h"
#include "xgethostname.h"
+#if defined(SERVER_SUPPORT) && defined(HAVE_SYSLOG_H)
+#include <syslog.h>
+#include <stdarg.h>
+#endif
const char *program_name;
const char *program_path;
@@ -557,6 +561,11 @@
/* `getopt_long' stores the option index here, but right now we
don't use it. */
int option_index = 0;
+
+#if defined(SERVER_SUPPORT) && defined(HAVE_SYSLOG_H)
+ /* OSSP fsl identification */
+ openlog("cvs", 0, LOG_DAEMON);
+#endif
#ifdef SYSTEM_INITIALIZE
/* Hook for OS-specific behavior, for example socket subsystems on