summaryrefslogtreecommitdiffabout
path: root/mfd/bi_dns.m4
Side-by-side diff
Diffstat (limited to 'mfd/bi_dns.m4') (more/less context) (ignore whitespace changes)
-rw-r--r--mfd/bi_dns.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/mfd/bi_dns.m4 b/mfd/bi_dns.m4
index a3a6ef1..6d071e7 100644
--- a/mfd/bi_dns.m4
+++ b/mfd/bi_dns.m4
@@ -128,12 +128,13 @@ MF_DEFUN(dns_getname, STRING, STRING ipstr)
for (ncount = 0; ncount < NELEMS(names) && names[ncount];
ncount++);
qsort(names, ncount, sizeof names[0], hostname_cmp);
+ MF_OBSTACK_BEGIN();
for (i = 0; i < ncount; i++) {
if (i > 0)
MF_OBSTACK_1GROW(' ');
MF_OBSTACK_GROW(names[i]);
}
MF_OBSTACK_1GROW(0);

Return to:

Send suggestions and report system problems to the System administrator.