aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat.c
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 /src/common/compat.c
parent0cca8dc35a4e59944b83db0a36c7033e09fb98b4 (diff)
downloadtor-a56511e594b14e8c97605c8e12084a91028d3747.tar.gz
tor-a56511e594b14e8c97605c8e12084a91028d3747.zip
Fix a few comments
Diffstat (limited to 'src/common/compat.c')
-rw-r--r--src/common/compat.c4
1 files changed, 2 insertions, 2 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