From 1096025891245cfed9a76e5e3ea3df6797de76ab Mon Sep 17 00:00:00 2001 From: Elizabeth Myers Date: Mon, 28 Mar 2016 17:50:45 -0500 Subject: [PATCH] authd/dns: remove magic number --- authd/dns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authd/dns.c b/authd/dns.c index 7d6d9472..f8132945 100644 --- a/authd/dns.c +++ b/authd/dns.c @@ -119,7 +119,7 @@ static void handle_lookup_ip_reply(void *data, struct DNSReply *reply) { struct dns_query *query = data; - char ip[64] = "*"; + char ip[HOSTIPLEN] = "*"; if(query == NULL) /* Shouldn't happen */