summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/system.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c
index edda54a78d..8822d3c414 100644
--- a/source3/lib/system.c
+++ b/source3/lib/system.c
@@ -1239,9 +1239,6 @@ void sys_adminlog(int priority, const char *format_str, ...)
int ret;
char **msgbuf = NULL;
- if (!lp_admin_log())
- return;
-
va_start( ap, format_str );
ret = vasprintf( msgbuf, format_str, ap );
va_end( ap );