From: Jennifer Richards Date: Thu, 3 May 2018 21:36:30 +0000 (-0400) Subject: Correct a comment X-Git-Tag: 3.4.0~1^2~37^2 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=trust_router.git;a=commitdiff_plain;h=7a5f536599eaf3c1bd96b2bccf12c9bfec4c8325 Correct a comment --- 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