[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Fix a few comments



commit a56511e594b14e8c97605c8e12084a91028d3747
Author: rl1987 <rl1987@xxxxxxxxxxxxxxxx>
Date:   Sat Apr 26 16:53:28 2014 +0300

    Fix a few comments
---
 src/common/compat.c      |    4 ++--
 src/common/testsupport.h |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/common/compat.c b/src/common/compat.c
index c5945fb..470e860 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 4a4f50b..59f7b19 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))
  *     {
  *          ...
  *     }



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits