rl1987 пре 10 година
родитељ
комит
a56511e594
2 измењених фајлова са 4 додато и 4 уклоњено
  1. 2 2
      src/common/compat.c
  2. 2 2
      src/common/testsupport.h

+ 2 - 2
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

+ 2 - 2
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))
  *     {
  *          ...
  *     }