[tor-commits] [tor/master] Fix a comment typo in compat.h

nickm at torproject.org nickm at torproject.org
Tue Apr 5 14:08:16 UTC 2016


commit 6a2b4db4f9bc1503788e470bdf67e770fbc2cc81
Author: teor (Tim Wilson-Brown) <teor2345 at gmail.com>
Date:   Tue Apr 5 13:45:37 2016 +1000

    Fix a comment typo in compat.h
---
 src/common/compat.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/compat.h b/src/common/compat.h
index 8cf8458..b6ee410 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -430,7 +430,7 @@ typedef int socklen_t;
 
 #ifdef _WIN32
 /* XXX Actually, this should arguably be SOCKET; we use intptr_t here so that
- * any inadvertant checks for the socket being <= 0 or > 0 will probably
+ * any inadvertent checks for the socket being <= 0 or > 0 will probably
  * still work. */
 #define tor_socket_t intptr_t
 #define TOR_SOCKET_T_FORMAT INTPTR_T_FORMAT





More information about the tor-commits mailing list