[SCM] Samba Shared Repository - branch master updated
Björn Jacke
bjacke at samba.org
Mon Aug 30 11:53:47 MDT 2010
The branch, master has been updated
via a8d8cf0 vfs_smb_traffic_analyzer: fix off by a second bug
from 20e7b4e s3-auth: The unlock of the account is now done by the get_sampwnam call.
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit a8d8cf00eae08466ef6a232ccbb5ede9ee4d9626
Author: Björn Jacke <bj at sernet.de>
Date: Mon Aug 30 19:49:35 2010 +0200
vfs_smb_traffic_analyzer: fix off by a second bug
convert_timespec_to_time_t is rounding but here we keep track of milliseconds
here - so we should use plain the tv_sec.
-----------------------------------------------------------------------
Summary of changes:
source3/modules/vfs_smb_traffic_analyzer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/modules/vfs_smb_traffic_analyzer.c b/source3/modules/vfs_smb_traffic_analyzer.c
index 3cafdc7..53ea5f9 100644
--- a/source3/modules/vfs_smb_traffic_analyzer.c
+++ b/source3/modules/vfs_smb_traffic_analyzer.c
@@ -421,7 +421,7 @@ static void smb_traffic_analyzer_send_data(vfs_handle_struct *handle,
}
GetTimeOfDay(&tv);
- tv_sec = convert_timespec_to_time_t(convert_timeval_to_timespec(tv));
+ tv_sec = tv.tv_sec;
tm = localtime(&tv_sec);
if (!tm) {
return;
--
Samba Shared Repository
More information about the samba-cvs
mailing list