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
This commit is contained in:
Nick Mathewson
2007-05-29 14:41:24 +00:00
parent 63035cdb33
commit 916e98d3fa
+1 -1
View File
@@ -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;