git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6353735
)
Fix logging to syslog
author
Dan Sledz
<dsledz@isilon.com>
Sat, 6 Dec 2008 01:29:38 +0000
(17:29 -0800)
committer
Tim Prouty
<tprouty@samba.org>
Sat, 6 Dec 2008 02:05:41 +0000
(18:05 -0800)
source/lib/debug.c
patch
|
blob
|
history
diff --git
a/source/lib/debug.c
b/source/lib/debug.c
index d91b55dd23b70c150b4ee26c0b98dae7eddee830..b3e1a72b95410eaf5e69f84b81754e0c88038e1e 100644
(file)
--- a/
source/lib/debug.c
+++ b/
source/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);