X-Git-Url: https://jfr.im/git/irc/rqf/shadowircd.git/blobdiff_plain/907468c485f837cb8442c32509c8efec8f3f43b1..d25c6eb1b223d1a0993dde9a28c97ef95e54bceb:/src/reslib.c diff --git a/src/reslib.c b/src/reslib.c index 5a8e4f6..38c09eb 100644 --- a/src/reslib.c +++ b/src/reslib.c @@ -86,8 +86,7 @@ #include "ircd.h" #include "res.h" #include "reslib.h" -#include "irc_string.h" -#include "sprintf_irc.h" +#include "match.h" #define NS_TYPE_ELT 0x40 /* EDNS0 extended label type */ #define DNS_LABELTYPE_BITSTRING 0x41 @@ -98,7 +97,7 @@ struct rb_sockaddr_storage irc_nsaddr_list[IRCD_MAXNS]; int irc_nscount = 0; -char irc_domain[HOSTLEN + 1]; +char irc_domain[IRCD_RES_HOSTLEN + 1]; static const char digitvalue[256] = { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, /*16*/