diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-05-29 14:41:24 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-05-29 14:41:24 +0000 |
commit | 916e98d3fa3c8d1bfa3760ba5675e8f12bc9eab9 (patch) | |
tree | 0244a93b0fb00b101ebf8cb09504df6862497862 /src/common | |
parent | 63035cdb3362ea46d2821d5f5604f1cf7b930dd4 (diff) | |
download | tor-916e98d3fa3c8d1bfa3760ba5675e8f12bc9eab9.tar.gz tor-916e98d3fa3c8d1bfa3760ba5675e8f12bc9eab9.zip |
r13042@catbus: nickm | 2007-05-29 10:41:10 -0400
oops; use tor_inet_aton rather than inet_aton in tor_inet_ntop. Spotted by Li-Hui Zhou.
svn:r10389
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/compat.c b/src/common/compat.c index b9888d9a5c..852cfffae3 100644 --- a/src/common/compat.c +++ b/src/common/compat.c @@ -908,7 +908,7 @@ tor_inet_pton(int af, const char *src, void *dst) ; ++eow; - if (inet_aton(eow, &in) != 1) + if (tor_inet_aton(eow, &in) != 1) return 0; a = ntohl(in.s_addr); words[6] = a >> 16; |