From 1cc3a4c563181caabb6f18ca40a0796051a73b57 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 23 Aug 2002 14:29:58 +0000 Subject: [PATCH] Print more characters for pretty dump --- recctrl/recgrs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recctrl/recgrs.c b/recctrl/recgrs.c index d0ee3e4..8d9e3d5 100644 --- a/recctrl/recgrs.c +++ b/recctrl/recgrs.c @@ -1,4 +1,4 @@ -/* $Id: recgrs.c,v 1.60 2002-08-17 07:59:54 adam Exp $ +/* $Id: recgrs.c,v 1.61 2002-08-23 14:29:58 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002 Index Data Aps @@ -399,8 +399,8 @@ static int dumpkeys(data1_node *n, struct recExtractCtrl *p, int level, { printf("%*s", level * 4, ""); printf("Data: "); - if (n->u.data.len > 32) - printf("'%.24s ... %.6s'\n", n->u.data.data, + if (n->u.data.len > 256) + printf("'%.240s ... %.6s'\n", n->u.data.data, n->u.data.data + n->u.data.len-6); else if (n->u.data.len > 0) printf("'%.*s'\n", n->u.data.len, n->u.data.data); -- 1.7.10.4