commit bdbd5be5d6139d6b3a1579e47d5724dc8fa673da Author: Steven Cheung steven.cheung@sri.com Date: Fri Jun 15 14:47:47 2012 -0700
Correct call to getaddrinfo() --- src/steg/http.cc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/steg/http.cc b/src/steg/http.cc index d8dbf5e..d079292 100644 --- a/src/steg/http.cc +++ b/src/steg/http.cc @@ -222,7 +222,7 @@ lookup_peer_name_from_ip(const char* p_ip, char* p_name) { char buf[128];
hint.ai_flags = AI_CANONNAME; - hint.ai_family = 0; + hint.ai_family = PF_UNSPEC; hint.ai_socktype = 0; hint.ai_protocol = 0; hint.ai_addrlen = 0;
tor-commits@lists.torproject.org