summaryrefslogtreecommitdiff
path: root/src/or/eventdns.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-04-26 13:10:54 -0400
committerNick Mathewson <nickm@torproject.org>2011-04-26 13:10:54 -0400
commitb75d1daf40c0d104b8224df337949753a5e65e74 (patch)
tree6804a9a1df747305dc0e5011445dad38b8188496 /src/or/eventdns.c
parentbb6d45af1fc738b9f71e798cde6c7564172b6e04 (diff)
parent6a829a340477a117d2e7cacc44688988d4b5be41 (diff)
downloadtor-b75d1daf40c0d104b8224df337949753a5e65e74.tar.gz
tor-b75d1daf40c0d104b8224df337949753a5e65e74.zip
Merge remote-tracking branch 'public/bug2332' into maint-0.2.2
Diffstat (limited to 'src/or/eventdns.c')
-rw-r--r--src/or/eventdns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/eventdns.c b/src/or/eventdns.c
index 25170fe7c6..cf583d0682 100644
--- a/src/or/eventdns.c
+++ b/src/or/eventdns.c
@@ -1668,7 +1668,7 @@ evdns_server_request_add_reply(struct evdns_server_request *_req, int section, c
/* exported function */
int
-evdns_server_request_add_a_reply(struct evdns_server_request *req, const char *name, int n, void *addrs, int ttl)
+evdns_server_request_add_a_reply(struct evdns_server_request *req, const char *name, int n, const void *addrs, int ttl)
{
return evdns_server_request_add_reply(
req, EVDNS_ANSWER_SECTION, name, TYPE_A, CLASS_INET,
@@ -1677,7 +1677,7 @@ evdns_server_request_add_a_reply(struct evdns_server_request *req, const char *n
/* exported function */
int
-evdns_server_request_add_aaaa_reply(struct evdns_server_request *req, const char *name, int n, void *addrs, int ttl)
+evdns_server_request_add_aaaa_reply(struct evdns_server_request *req, const char *name, int n, const void *addrs, int ttl)
{
return evdns_server_request_add_reply(
req, EVDNS_ANSWER_SECTION, name, TYPE_AAAA, CLASS_INET,