From 0552b77cfb593891abe8cc7726f66fba53218149 Mon Sep 17 00:00:00 2001 From: manuel Date: Tue, 28 Apr 2026 10:14:44 +0200 Subject: dns: add missing const qualifier --- dns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dns.c') 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; static int (*lookup)(res_state statep, const char *dname, int class, int type, unsigned char *answer, int anslen) = res_nquery; -static int resolve(stralloc *domain, int type) +static int resolve(const stralloc *domain, int type) { int n; int i; -- cgit v1.2.3