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
641 B

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