[SCM] Samba Shared Repository - branch master updated

Björn Jacke bjacke at samba.org
Fri Sep 17 06:07:58 MDT 2010


The branch, master has been updated
       via  1a22b1b lib/util: usec_time_diff takes arguments the other way round than TvalDiff did
      from  10eefd8 s3: fix order of arguments in nsec_time_diff call

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


- Log -----------------------------------------------------------------
commit 1a22b1b44df62931a35254d06d2fc638c996c5f7
Author: Björn Jacke <bj at sernet.de>
Date:   Fri Sep 17 14:05:53 2010 +0200

    lib/util: usec_time_diff takes arguments the other way round than TvalDiff did

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

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


Changeset truncated at 500 lines:

diff --git a/lib/util/util.c b/lib/util/util.c
index 296a2a6..11bb315 100644
--- a/lib/util/util.c
+++ b/lib/util/util.c
@@ -206,7 +206,7 @@ _PUBLIC_ void smb_msleep(unsigned int t)
 			t1 = t2;
 		}
 
-		tdiff = usec_time_diff(&t1,&t2)/1000;
+		tdiff = usec_time_diff(&t2,&t1)/1000;
 	}
 #endif
 }


-- 
Samba Shared Repository


More information about the samba-cvs mailing list