diff options
author | Nick Mathewson <nickm@torproject.org> | 2009-05-27 16:35:03 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2009-05-27 16:36:13 -0400 |
commit | f0453c45c8c3963762b208cfe4f6fb2e1e96cc34 (patch) | |
tree | 0aae81d0fa8e0941ad07902886c990c461fdc1e5 /src/common/util.c | |
parent | 1843f3936c7ee834a5974d1914bf749f8ea27e39 (diff) | |
download | tor-f0453c45c8c3963762b208cfe4f6fb2e1e96cc34.tar.gz tor-f0453c45c8c3963762b208cfe4f6fb2e1e96cc34.zip |
Spelling fixes in comments and strings
Diffstat (limited to 'src/common/util.c')
-rw-r--r-- | src/common/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/util.c b/src/common/util.c index 13c55b2888..a3338b1d18 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -1088,7 +1088,7 @@ format_rfc1123_time(char *buf, time_t t) /** Parse the the RFC1123 encoding of some time (in GMT) from <b>buf</b>, * and store the result in *<b>t</b>. * - * Return 0 on succcess, -1 on failure. + * Return 0 on success, -1 on failure. */ int parse_rfc1123_time(const char *buf, time_t *t) @@ -1319,7 +1319,7 @@ format_time_interval(char *out, size_t out_len, long interval) * ===== */ #ifndef TIME_IS_FAST -/** Cached estimate of the currrent time. Updated around once per second; +/** Cached estimate of the current time. Updated around once per second; * may be a few seconds off if we are really busy. This is a hack to avoid * calling time(NULL) (which not everybody has optimized) on critical paths. */ @@ -1350,7 +1350,7 @@ update_approx_time(time_t now) * XXXX022 Use this consistently or rip most of it out. * ===== */ -/* In a perfect world, everybody would run ntp, and ntp would be perfect, so +/* In a perfect world, everybody would run NTP, and NTP would be perfect, so * if we wanted to know "Is the current time before time X?" we could just say * "time(NULL) < X". * |