From 0dd7f1732a7623929691d12e937211303d6dbd71 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Sun, 26 Dec 2021 11:58:08 +0300 Subject: 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 */ -- cgit v1.2.3