From 0f6981ce0fd93e10fae113f8ffac1f557d7106d1 Mon Sep 17 00:00:00 2001 From: fredrik Date: Tue, 8 May 2007 18:27:09 +0000 Subject: [PATCH] Always log with correct facility. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@1031 959494ce-11ee-0310-bf91-de5d638817bd --- daemon/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/log.c b/daemon/log.c index 61c7638..b72e62d 100644 --- a/daemon/log.c +++ b/daemon/log.c @@ -56,7 +56,7 @@ void flog(int priority, char *format, ...) writev(2, iov, 2); } if(logtosyslog) - syslog(priority, "%s", b); + syslog(syslogfac | priority, "%s", b); free(b); } -- 2.11.0