From a85edb5fd87eba28579224f705855f9850619199 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 20 Jan 2016 16:25:43 +0000 Subject: [PATCH] Oops, fix typename for rnds --- contrib/librdns/packet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/librdns/packet.c b/contrib/librdns/packet.c index c07418604..532b5de91 100644 --- a/contrib/librdns/packet.c +++ b/contrib/librdns/packet.c @@ -131,7 +131,7 @@ rdns_format_dns_name (struct rdns_resolver *resolver, const char *in, /* We need to encode */ p = in; /* We allocate 4 times more memory as we cannot guarantee encoding bounds */ - olen = inlen * sizeof (guint32) + 1 + sizeof ("xn--") * labels; + olen = inlen * sizeof (int32_t) + 1 + sizeof ("xn--") * labels; *out = malloc (olen + 1); if (*out == NULL) { -- 2.39.5