The branch, master has been updated
       via  fa203f4 s3/time_audit: fix a change that was just for debuggin 
purposeѕ
      from  7e3419f s4-pyldb: Handle internal errors in py_ldb_contains() 
properly

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


- Log -----------------------------------------------------------------
commit fa203f4541190b01b1f82f1ff9a47c31152c2412
Author: Björn Jacke <b...@sernet.de>
Date:   Wed Nov 10 12:39:41 2010 +0100

    s3/time_audit: fix a change that was just for debuggin purposeѕ
    
    Autobuild-User: Björn Jacke <bja...@samba.org>
    Autobuild-Date: Wed Nov 10 12:28:41 UTC 2010 on sn-devel-104

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

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


Changeset truncated at 500 lines:

diff --git a/source3/modules/vfs_time_audit.c b/source3/modules/vfs_time_audit.c
index 4e6d65e..84e4175 100644
--- a/source3/modules/vfs_time_audit.c
+++ b/source3/modules/vfs_time_audit.c
@@ -838,10 +838,10 @@ static int smb_time_audit_chdir(vfs_handle_struct 
*handle, const char *path)
        clock_gettime_mono(&ts1);
        result = SMB_VFS_NEXT_CHDIR(handle, path);
        clock_gettime_mono(&ts2);
-       timediff = nsec_time_diff(&ts2,&ts1);
+       timediff = nsec_time_diff(&ts2,&ts1)*1.0e-9;
 
        if (timediff > audit_timeout) {
-               smb_time_audit_log("chdir", timediff*1.0e-9);
+               smb_time_audit_log("chdir", timediff);
        }
 
        return result;


-- 
Samba Shared Repository

Reply via email to