summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dns.c b/dns.c
index d43e946..ed35dda 100644
--- a/dns.c
+++ b/dns.c
@@ -35,7 +35,7 @@ static unsigned short dns_res_ad_flag = 0;
35 35
36static int (*lookup)(res_state statep, const char *dname, int class, int type, unsigned char *answer, int anslen) = res_nquery; 36static int (*lookup)(res_state statep, const char *dname, int class, int type, unsigned char *answer, int anslen) = res_nquery;
37 37
38static int resolve(stralloc *domain, int type) 38static int resolve(const stralloc *domain, int type)
39{ 39{
40 int n; 40 int n;
41 int i; 41 int i;