Browse Source

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

Nick Mathewson 17 years ago
parent
commit
916e98d3fa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/common/compat.c

+ 1 - 1
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;