[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libmicrohttpd] 04/05: mhd_mono_clock: fixed comment
From: |
gnunet |
Subject: |
[libmicrohttpd] 04/05: mhd_mono_clock: fixed comment |
Date: |
Sun, 26 Dec 2021 10:43:05 +0100 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit 0dd7f1732a7623929691d12e937211303d6dbd71
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
AuthorDate: Sun Dec 26 11:58:08 2021 +0300
mhd_mono_clock: fixed comment
---
src/microhttpd/mhd_mono_clock.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/microhttpd/mhd_mono_clock.c b/src/microhttpd/mhd_mono_clock.c
index e06f6d16..b04153f8 100644
--- a/src/microhttpd/mhd_mono_clock.c
+++ b/src/microhttpd/mhd_mono_clock.c
@@ -215,8 +215,7 @@ MHD_monotonic_sec_counter_init (void)
else
#endif /* CLOCK_MONOTONIC_RAW */
#ifdef CLOCK_BOOTTIME
- /* Linux-specific clock */
- /* Count time in suspend so it's real monotonic on Linux, */
+ /* Count time in suspend on Linux so it's real monotonic, */
/* but can be slower value-getting than other clocks */
if (0 == clock_gettime (CLOCK_BOOTTIME,
&ts))
@@ -239,7 +238,7 @@ MHD_monotonic_sec_counter_init (void)
mono_clock_source = _MHD_CLOCK_GETTIME;
}
else
-#endif /* CLOCK_BOOTTIME */
+#endif /* CLOCK_MONOTONIC */
#ifdef CLOCK_UPTIME
/* non-Linux clock */
/* Doesn't count time in suspend */
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.