diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-20 16:25:43 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-20 16:25:43 +0000 |
commit | a85edb5fd87eba28579224f705855f9850619199 (patch) | |
tree | 86264ce05a688fb0254736e03f0784871fcdd510 | |
parent | 9ac81649d3523ee0c21005029f3f6173473e69d7 (diff) | |
download | rspamd-a85edb5fd87eba28579224f705855f9850619199.tar.gz rspamd-a85edb5fd87eba28579224f705855f9850619199.zip |
Oops, fix typename for rnds
-rw-r--r-- | contrib/librdns/packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |