Module: check_mk
Branch: master
Commit: d0a36e52fecb0790ac7312ddfc22b61bf3a30346
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d0a36e52fecb07…
Author: Sven Panne <sp(a)mathias-kettner.de>
Date: Fri Sep 8 16:15:07 2017 +0200
Fixed copy-n-paste error in comment.
Change-Id: I0329357a894af36fce3a966df5d8f9e0e2b78c21
---
livestatus/src/ChronoUtils.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/livestatus/src/ChronoUtils.h b/livestatus/src/ChronoUtils.h
index a55d22d..fd21248 100644
--- a/livestatus/src/ChronoUtils.h
+++ b/livestatus/src/ChronoUtils.h
@@ -65,7 +65,8 @@ inline tm to_tm(std::chrono::system_clock::time_point tp) {
#else
// POSIX.1-2008 variant, available under MinGW64 only under obscure
// circumstances, so better avoid it there. Signature:
- // struct tm *localtime(const time_t *timer)
+ // struct tm *localtime_r(const time_t *restrict timer,
+ // struct tm *restrict result);
localtime_r(&t, &ret);
#endif
// Reason: see Win32 section above