summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2026-04-28 10:14:44 +0200
committermanuel <manuel@mausz.at>2026-04-28 10:14:44 +0200
commit0552b77cfb593891abe8cc7726f66fba53218149 (patch)
treef9f4ae3a86d2ffdc298d99c9040a7f477e3e77e1
parent859afd6c154625e18be4b2f8123e40cd9e0cce05 (diff)
downloadqmail-0552b77cfb593891abe8cc7726f66fba53218149.tar.gz
qmail-0552b77cfb593891abe8cc7726f66fba53218149.tar.bz2
qmail-0552b77cfb593891abe8cc7726f66fba53218149.zip
dns: add missing const qualifier
-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;