aboutsummaryrefslogtreecommitdiff
path: root/src/common/sandbox.h
diff options
context:
space:
mode:
authorCristian Toader <cristian.matei.toader@gmail.com>2013-09-06 12:39:56 +0300
committerCristian Toader <cristian.matei.toader@gmail.com>2013-09-06 12:39:56 +0300
commit6a22b29641834cecb446282588f9d47d8678b8b4 (patch)
tree0ea7aa0a7137fec7f88cbff2588a3cef0257c966 /src/common/sandbox.h
parent839ff0063d3fca10a64abf69ab27d1fd88456889 (diff)
downloadtor-6a22b29641834cecb446282588f9d47d8678b8b4.tar.gz
tor-6a22b29641834cecb446282588f9d47d8678b8b4.zip
passing hints as a const pointer to sandbox_getaddrinfo(), also one tor_free macro fails to compile..
Diffstat (limited to 'src/common/sandbox.h')
-rw-r--r--src/common/sandbox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/sandbox.h b/src/common/sandbox.h
index 503bb70846..ed9caa1686 100644
--- a/src/common/sandbox.h
+++ b/src/common/sandbox.h
@@ -133,7 +133,7 @@ typedef struct {
int sandbox_add_addrinfo(const char *addr);
/** Replacement for getaddrinfo(), using pre-recorded results. */
-int sandbox_getaddrinfo(const char *name, struct addrinfo hints,
+int sandbox_getaddrinfo(const char *name, const struct addrinfo *hints,
struct addrinfo **res);
/** Use <b>fd</b> to log non-survivable sandbox violations. */