]> git.dolda2000.com Git - doldaconnect.git/commitdiff
Always log with correct facility.
authorfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Tue, 8 May 2007 18:27:09 +0000 (18:27 +0000)
committerfredrik <fredrik@959494ce-11ee-0310-bf91-de5d638817bd>
Tue, 8 May 2007 18:27:09 +0000 (18:27 +0000)
git-svn-id: svn+ssh://svn.dolda2000.com/srv/svn/repos/src/doldaconnect@1031 959494ce-11ee-0310-bf91-de5d638817bd

daemon/log.c

index 61c7638d2f34c2752b992b05033587d817a9f1bb..b72e62d36995b55b2e2d9a09c0b0bd8fdc68a454 100644 (file)
@@ -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);
 }