]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix a few comments
authorrl1987 <rl1987@sdf.lonestar.org>
Sat, 26 Apr 2014 13:53:28 +0000 (16:53 +0300)
committerNick Mathewson <nickm@torproject.org>
Mon, 29 Dec 2014 14:59:14 +0000 (09:59 -0500)
src/common/compat.c
src/common/testsupport.h

index c5945fbd22c88ae78bc1b8855581508fae0be310..470e860f5261ebb21af153c515273c29013b9b55 100644 (file)
@@ -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
index 4a4f50b69b39ec609020fa19cbc4d1dadbdcfd00..59f7b19a0376d8444097caf9fb1f6d561bc7b782 100644 (file)
@@ -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))
  *     {
  *          ...
  *     }