[SCM] Samba Shared Repository - branch v3-2-test updated - initial-v3-2-unstable-598-g0a3be0a

Jeremy Allison jra at samba.org
Tue Dec 11 23:11:13 GMT 2007


The branch, v3-2-test has been updated
       via  0a3be0aad7220eb97fe39460e20f36c8ae9ce474 (commit)
      from  657bf8c3479d6192f269e3daef1517e77a9fa9cb (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 0a3be0aad7220eb97fe39460e20f36c8ae9ce474
Author: Jeremy Allison <jra at samba.org>
Date:   Tue Dec 11 15:10:37 2007 -0800

    Fix warning message about data type always true.
    Jeremy.

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

Summary of changes:
 source/modules/vfs_full_audit.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/modules/vfs_full_audit.c b/source/modules/vfs_full_audit.c
index 533ac71..f4aeefb 100644
--- a/source/modules/vfs_full_audit.c
+++ b/source/modules/vfs_full_audit.c
@@ -1372,7 +1372,7 @@ static bool smb_full_audit_lock(vfs_handle_struct *handle, files_struct *fsp, in
 
 	result = SMB_VFS_NEXT_LOCK(handle, fsp, fd, op, offset, count, type);
 
-	do_log(SMB_VFS_OP_LOCK, (result >= 0), handle, "%s", fsp->fsp_name);
+	do_log(SMB_VFS_OP_LOCK, result, handle, "%s", fsp->fsp_name);
 
 	return result;
 }
@@ -1411,7 +1411,7 @@ static bool smb_full_audit_getlock(vfs_handle_struct *handle, files_struct *fsp,
 
 	result = SMB_VFS_NEXT_GETLOCK(handle, fsp, fd, poffset, pcount, ptype, ppid);
 
-	do_log(SMB_VFS_OP_GETLOCK, (result >= 0), handle, "%s", fsp->fsp_name);
+	do_log(SMB_VFS_OP_GETLOCK, result, handle, "%s", fsp->fsp_name);
 
 	return result;
 }


-- 
Samba Shared Repository


More information about the samba-cvs mailing list