1 diff -u -r ../git-2.17.0/daemon.c ./daemon.c
2 --- ../git-2.17.0/daemon.c 2018-04-02 19:44:04.000000000 +0200
3 +++ ./daemon.c 2018-04-03 23:10:19.566140810 +0200
6 switch (log_destination) {
7 case LOG_DESTINATION_SYSLOG: {
10 vsnprintf(buf, sizeof(buf), err, params);
11 syslog(priority, "%s", buf);
15 case LOG_DESTINATION_STDERR:
19 if (log_destination == LOG_DESTINATION_SYSLOG) {
21 openlog("git-daemon", LOG_PID, LOG_DAEMON);
23 set_die_routine(daemon_die);
25 /* avoid splitting a message in the middle */