The branch, master has been updated
       via  f9172a2af558262a6993059114813daf24c9e173 (commit)
      from  33193c2bb78f8903aa430f8153f74a68682ddec3 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit f9172a2af558262a6993059114813daf24c9e173
Author: Dan Sledz <[EMAIL PROTECTED]>
Date:   Fri Dec 5 17:29:38 2008 -0800

    Fix logging to syslog

-----------------------------------------------------------------------

Summary of changes:
 source3/lib/debug.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/lib/debug.c b/source3/lib/debug.c
index d64fcb6..193e9ef 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);


-- 
Samba Shared Repository

Reply via email to