From: fredrik Date: Tue, 8 May 2007 18:27:09 +0000 (+0000) Subject: Always log with correct facility. X-Git-Tag: 0.4~39 X-Git-Url: http://git.dolda2000.com/gitweb/?p=doldaconnect.git;a=commitdiff_plain;h=0f6981ce0fd93e10fae113f8ffac1f557d7106d1 Always log with correct facility. git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@1031 959494ce-11ee-0310-bf91-de5d638817bd --- 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); }