Fix bug #8165 - Inverted WITH_SYSLOG condition in vfs_full_audit.c.
authorJeremy Allison <jra@samba.org>
Wed, 25 May 2011 19:28:39 +0000 (12:28 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 25 May 2011 20:37:23 +0000 (22:37 +0200)
Found by freeserif@yahoo.com.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed May 25 22:37:23 CEST 2011 on sn-devel-104

source3/modules/vfs_full_audit.c

index e4d9599e74d5b1037bb415279583fa7716293450..cb03413a537036de7a9c15d9ffc467d7b940b302 100644 (file)
@@ -617,7 +617,7 @@ static int smb_full_audit_connect(vfs_handle_struct *handle,
                return -1;
        }
 
-#ifndef WITH_SYSLOG
+#ifdef WITH_SYSLOG
        openlog("smbd_audit", 0, audit_syslog_facility(handle));
 #endif