[SCM] Samba Shared Repository - branch v3-4-test updated - release-4-0-0alpha7-1309-g7f8e6b9
Karolin Seeger
kseeger at samba.org
Fri Oct 2 04:19:23 MDT 2009
The branch, v3-4-test has been updated
via 7f8e6b98822df2ea813e6a7da6a8f14c503935d9 (commit)
from d046ab32094caa9511862144df1c00e64c234487 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test
- Log -----------------------------------------------------------------
commit 7f8e6b98822df2ea813e6a7da6a8f14c503935d9
Author: Simo Sorce <ssorce at redhat.com>
Date: Fri Sep 25 10:59:04 2009 -0400
Fixing timeval calculation
The code was always doubling microseconds when attempting to round up.
Fix bug #6764.
-----------------------------------------------------------------------
Summary of changes:
lib/tevent/tevent_timed.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/lib/tevent/tevent_timed.c b/lib/tevent/tevent_timed.c
index d75653d..cc51bf6 100644
--- a/lib/tevent/tevent_timed.c
+++ b/lib/tevent/tevent_timed.c
@@ -114,7 +114,7 @@ struct timeval tevent_timeval_add(const struct timeval *tv, uint32_t secs,
tv2.tv_sec += secs;
tv2.tv_usec += usecs;
tv2.tv_sec += tv2.tv_usec / 1000000;
- tv2.tv_usec += tv2.tv_usec % 1000000;
+ tv2.tv_usec = tv2.tv_usec % 1000000;
return tv2;
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list