Code

src/daemon/utils_time.h: Avoid incorrect rounding in CDTIME_T_TO_TIME{VAL,SPEC}.
authorFlorian Forster <octo@collectd.org>
Tue, 8 Dec 2015 09:33:17 +0000 (10:33 +0100)
committerFlorian Forster <octo@collectd.org>
Tue, 8 Dec 2015 09:33:17 +0000 (10:33 +0100)
commit0a62e9b75d84c39f57cfdf0e80710627fa9091cb
treeb2106bffae78b77aaa24b762ae113bb160c45caf
parent437bd5a9a406f5b07dc58bae612b75f4e6a23a13
src/daemon/utils_time.h: Avoid incorrect rounding in CDTIME_T_TO_TIME{VAL,SPEC}.

This change also partially expands CDTIME_T_TO_{US,NS} to avoid dead
code warnings in Coverity.

Fixes: #1446
CID: 37950, 37951, 37952, 37953, 37954, 41722
src/daemon/utils_time.h