[tor-commits] [tor/master] fix two typos in comments

arma at torproject.org arma at torproject.org
Mon May 22 05:44:18 UTC 2017


commit 0698a0beca8387e2d365fd0cd5801ecc4f910de3
Author: Roger Dingledine <arma at torproject.org>
Date:   Mon May 22 01:43:52 2017 -0400

    fix two typos in comments
    
    closes ticket 22322
---
 src/common/compat.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/common/compat.h b/src/common/compat.h
index 68fad9b..473ad2b 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.
  */



More information about the tor-commits mailing list