gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libmicrohttpd] branch master updated: MHD_monotonic_msec_counter(): fix


From: gnunet
Subject: [libmicrohttpd] branch master updated: MHD_monotonic_msec_counter(): fixed internal fallback
Date: Sun, 29 Aug 2021 18:18:54 +0200

This is an automated email from the git hooks/post-receive script.

karlson2k pushed a commit to branch master
in repository libmicrohttpd.

The following commit(s) were added to refs/heads/master by this push:
     new cc650aca MHD_monotonic_msec_counter(): fixed internal fallback
cc650aca is described below

commit cc650acad6f6777b35045c3387a264a6dcc5ffab
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sun Aug 29 19:09:31 2021 +0300

    MHD_monotonic_msec_counter(): fixed internal fallback
---
 src/microhttpd/mhd_mono_clock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/microhttpd/mhd_mono_clock.c b/src/microhttpd/mhd_mono_clock.c
index 09e66807..122aab77 100644
--- a/src/microhttpd/mhd_mono_clock.c
+++ b/src/microhttpd/mhd_mono_clock.c
@@ -457,5 +457,5 @@ MHD_monotonic_msec_counter (void)
     return ((uint64_t) (gethrtime () - hrtime_start)) / 1000000;
 #endif /* HAVE_GETHRTIME */
 
-  return time (NULL) - sys_clock_start;
+  return (uint64_t) (time (NULL) - sys_clock_start) * 1000;
 }

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]