Fixing timeval calculation
commit57d15bb9ab0c46020d8be34534166226fbef48c3
authorSimo Sorce <ssorce@redhat.com>
Fri, 25 Sep 2009 14:59:04 +0000 (25 10:59 -0400)
committerKarolin Seeger <kseeger@samba.org>
Tue, 20 Oct 2009 13:00:20 +0000 (20 15:00 +0200)
tree7bc9aaf1a50681b8db7952f5a9813a111157db40
parent340077b8b5e6364aa32717fcd39ca28ae7f4a023
Fixing timeval calculation

The code was always doubling microseconds when attempting to round up.

Fix bug #6764.
(cherry picked from commit 7f8e6b98822df2ea813e6a7da6a8f14c503935d9)
lib/tevent/tevent_timed.c