diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-09-08 20:25:57 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-09-08 20:25:57 +0000 |
commit | 565f5f32c5ab44bcffdc921d6e804a9f509d49d6 (patch) | |
tree | 8fa56d0b754911921d3538c587b35eb085ed7e88 /src/common/util.c | |
parent | 509bc3b4a055c9bee80d943111e01cf031db81f8 (diff) | |
download | tor-565f5f32c5ab44bcffdc921d6e804a9f509d49d6.tar tor-565f5f32c5ab44bcffdc921d6e804a9f509d49d6.tar.gz |
r14363@Kushana: nickm | 2007-09-08 16:25:45 -0400
Another round of whitespeace fixes.
svn:r11407
Diffstat (limited to 'src/common/util.c')
-rw-r--r-- | src/common/util.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/util.c b/src/common/util.c index e0eeee282..1b3f80a12 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -1263,8 +1263,8 @@ parse_http_time(const char *date, struct tm *tm) * model the user's computer as being "skewed" from accurate time by * -<b>ftime_skew</b> seconds, such that our best guess of the current time is * time(NULL)+ftime_skew. We also assume that our measurements of time may - * have up to <b>ftime_slop</b> seconds of inaccuracy; hence, the - * measurements; + * have up to <b>ftime_slop</b> seconds of inaccuracy; IOW, our window of + * estimate for the current time is now + ftime_skew +/- ftime_slop. */ static int ftime_skew = 0; static int ftime_slop = 60; @@ -1290,13 +1290,13 @@ ftime_get_window(time_t now, ftime_t *ft_out) int ftime_maybe_after(time_t now, time_t when) { - /* It may be after when iff the latest possible current time is after when. */ + /* It may be after when iff the latest possible current time is after when */ return (now + ftime_skew + ftime_slop) >= when; } int ftime_maybe_before(time_t now, time_t when) { - /* It may be before when iff the earliest possible current time is before. */ + /* It may be before when iff the earliest possible current time is before */ return (now + ftime_skew - ftime_slop) < when; } int |