From: rl1987 Date: Sat, 26 Apr 2014 13:53:28 +0000 (+0300) Subject: Fix a few comments X-Git-Tag: tor-0.2.6.2-alpha~17^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a56511e594b14e8c97605c8e12084a91028d3747;p=thirdparty%2Ftor.git Fix a few comments --- 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)) * { * ... * }