summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2017-05-22 01:43:52 -0400
committerRoger Dingledine <arma@torproject.org>2017-05-22 01:43:52 -0400
commit0698a0beca8387e2d365fd0cd5801ecc4f910de3 (patch)
treef98658ff1a93e9e2cbe2056c1ef16a332d45b2dc
parenta18b41cc776196c41cf79bdab25592a7ce8bbcc5 (diff)
downloadtor-0698a0beca8387e2d365fd0cd5801ecc4f910de3.tar.gz
tor-0698a0beca8387e2d365fd0cd5801ecc4f910de3.zip
fix two typos in comments
closes ticket 22322
-rw-r--r--src/common/compat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/compat.h b/src/common/compat.h
index 68fad9b598..473ad2b957 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -414,10 +414,10 @@ struct tm *tor_gmtime_r(const time_t *timep, struct tm *result);
#endif
#ifndef timercmp
-/** Replacement for timersub on platforms that do not have it: returns true
+/** Replacement for timercmp on platforms that do not have it: returns true
* iff the relational operator "op" makes the expression tv1 op tv2 true.
*
- * Note that while this definition should work for all boolean opeators, some
+ * Note that while this definition should work for all boolean operators, some
* platforms' native timercmp definitions do not support >=, <=, or ==. So
* don't use those.
*/