summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrl1987 <rl1987@sdf.lonestar.org>2014-04-26 16:53:28 +0300
committerNick Mathewson <nickm@torproject.org>2014-12-29 09:59:14 -0500
commita56511e594b14e8c97605c8e12084a91028d3747 (patch)
tree4de3723f1d205351d011d872eea2f924a4beaaed
parent0cca8dc35a4e59944b83db0a36c7033e09fb98b4 (diff)
downloadtor-a56511e594b14e8c97605c8e12084a91028d3747.tar.gz
tor-a56511e594b14e8c97605c8e12084a91028d3747.zip
Fix a few comments
-rw-r--r--src/common/compat.c4
-rw-r--r--src/common/testsupport.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index c5945fbd22..470e860f52 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -2061,8 +2061,8 @@ get_environment(void)
#endif
}
-/** Set *addr to the IP address (in dotted-quad notation) stored in c.
- * Return 1 on success, 0 if c is badly formatted. (Like inet_aton(c,addr),
+/** Set *addr to the IP address (in dotted-quad notation) stored in *str.
+ * Return 1 on success, 0 if *str is badly formatted. (Like inet_aton(str,addr),
* but works on Windows and Solaris.)
*/
int
diff --git a/src/common/testsupport.h b/src/common/testsupport.h
index 4a4f50b69b..59f7b19a03 100644
--- a/src/common/testsupport.h
+++ b/src/common/testsupport.h
@@ -20,8 +20,8 @@
*
* and implement it as:
*
- * MOCK_IMPL(void
- * writebuf,(size_t n, char *buf)
+ * MOCK_IMPL(void,
+ * writebuf,(size_t n, char *buf))
* {
* ...
* }