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.

26 lines
624 B

diff -u -r ../git-2.17.0/daemon.c ./daemon.c
--- ../git-2.17.0/daemon.c 2018-04-02 19:44:04.000000000 +0200
+++ ./daemon.c 2018-04-03 23:10:19.566140810 +0200
@@ -82,9 +82,11 @@
10 years ago
{
switch (log_destination) {
case LOG_DESTINATION_SYSLOG: {
10 years ago
+ /*
char buf[1024];
vsnprintf(buf, sizeof(buf), err, params);
syslog(priority, "%s", buf);
+ */
break;
}
case LOG_DESTINATION_STDERR:
@@ -1432,7 +1434,9 @@
}
if (log_destination == LOG_DESTINATION_SYSLOG) {
+ /*
openlog("git-daemon", LOG_PID, LOG_DAEMON);
+ */
set_die_routine(daemon_die);
} else
/* avoid splitting a message in the middle */