From 7a5f536599eaf3c1bd96b2bccf12c9bfec4c8325 Mon Sep 17 00:00:00 2001 From: Jennifer Richards Date: Thu, 3 May 2018 17:36:30 -0400 Subject: [PATCH] Correct a comment --- common/tr_util.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/common/tr_util.c b/common/tr_util.c index f45ca2b..2e59606 100644 --- a/common/tr_util.c +++ b/common/tr_util.c @@ -116,8 +116,9 @@ int tr_add_timespec(const struct timespec *ts1, const struct timespec *ts2, stru * The returned tv_nsec is always positive and less than 1e9. * * (The value represented is tv_sec + tv_nsec/1e9 seconds - this is a little - * counterintuitive when tv_sec is positive. E.g., -1.5 seconds is represented - * as {-2, 500000000).) + * counterintuitive when tv_sec is negative. E.g., -1.5 seconds is represented + * as {-2, 500000000). Negative time_t values are not guaranteed to be supported + * anyway, so it's probably best to stay away from them.) * * @param ts1 * @param ts2 -- 2.1.4