summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2011-05-25 12:28:39 -0700
committerJeremy Allison <jra@samba.org>2011-05-25 22:37:23 +0200
commitd10674326b34e2f71a3bb17171e66277bfd1a92b (patch)
tree201829e0ae3c8f1f71928318b37808cfa72bc1ba
parent0f8018676a6cb33238d506338d4fbb8b683550d3 (diff)
downloadsamba-d10674326b34e2f71a3bb17171e66277bfd1a92b.tar.gz
samba-d10674326b34e2f71a3bb17171e66277bfd1a92b.tar.bz2
samba-d10674326b34e2f71a3bb17171e66277bfd1a92b.zip
Fix bug #8165 - Inverted WITH_SYSLOG condition in vfs_full_audit.c.
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
-rw-r--r--source3/modules/vfs_full_audit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c
index e4d9599e74..cb03413a53 100644
--- a/source3/modules/vfs_full_audit.c
+++ b/source3/modules/vfs_full_audit.c
@@ -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