diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-09-09 15:59:41 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-09-09 15:59:41 -0400 |
commit | 49f9c4924e54b55c34050a2ce1053f7cd78eeaf5 (patch) | |
tree | 5c9fe9fc3c7eb80f4ac066af3a0190a4d4e5b649 /src/common/address.c | |
parent | e9ec0cb5506b81f7f7c54e06a95dafac4acb38e3 (diff) | |
download | tor-49f9c4924e54b55c34050a2ce1053f7cd78eeaf5.tar.gz tor-49f9c4924e54b55c34050a2ce1053f7cd78eeaf5.zip |
Fix compilation on OSX
Diffstat (limited to 'src/common/address.c')
-rw-r--r-- | src/common/address.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/address.c b/src/common/address.c index f9647b9a90..945e5e79bd 100644 --- a/src/common/address.c +++ b/src/common/address.c @@ -235,7 +235,7 @@ tor_addr_lookup(const char *name, uint16_t family, tor_addr_t *addr) memset(&hints, 0, sizeof(hints)); hints.ai_family = family; hints.ai_socktype = SOCK_STREAM; - err = sandbox_getaddrinfo(name, &hints, &res); + err = sandbox_getaddrinfo(name, NULL, &hints, &res); if (!err) { best = NULL; for (res_p = res; res_p; res_p = res_p->ai_next) { |