aboutsummaryrefslogtreecommitdiff
path: root/testcode/unitneg.c
diff options
context:
space:
mode:
Diffstat (limited to 'testcode/unitneg.c')
-rw-r--r--testcode/unitneg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testcode/unitneg.c b/testcode/unitneg.c
index 59c4e8dcc643..d1d03fc99150 100644
--- a/testcode/unitneg.c
+++ b/testcode/unitneg.c
@@ -53,7 +53,7 @@ static int negverbose = 0;
/** debug printout of neg cache */
static void print_neg_cache(struct val_neg_cache* neg)
{
- char buf[1024];
+ char buf[LDNS_MAX_DOMAINLEN];
struct val_neg_zone* z;
struct val_neg_data* d;
printf("neg_cache print\n");