diff options
author | Dan Sledz <dsledz@isilon.com> | 2008-12-05 17:29:38 -0800 |
---|---|---|
committer | Tim Prouty <tprouty@samba.org> | 2008-12-05 18:00:32 -0800 |
commit | f9172a2af558262a6993059114813daf24c9e173 (patch) | |
tree | 17c1b4e25512d657f1371b4b8c1e90163dc7d4f7 /source3/lib | |
parent | 33193c2bb78f8903aa430f8153f74a68682ddec3 (diff) | |
download | samba-f9172a2af558262a6993059114813daf24c9e173.tar.gz samba-f9172a2af558262a6993059114813daf24c9e173.tar.bz2 samba-f9172a2af558262a6993059114813daf24c9e173.zip |
Fix logging to syslog
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/debug.c b/source3/lib/debug.c index d64fcb66d9..193e9efc96 100644 --- a/source3/lib/debug.c +++ b/source3/lib/debug.c @@ -851,7 +851,7 @@ void check_log_size( void ) ret = vasprintf(&msgbuf, format_str, ap); va_end(ap); - if (ret == -1) { + if (ret != -1) { syslog(priority, "%s", msgbuf); } SAFE_FREE(msgbuf); |