From 2ccf6569d40973c1e3707e4fb366e7a89fc02a2b Mon Sep 17 00:00:00 2001 From: Heikki Levanto Date: Fri, 1 Oct 2004 14:50:22 +0000 Subject: [PATCH] fixed a debug log message --- index/extract.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index/extract.c b/index/extract.c index 2e6654d..86653fd 100644 --- a/index/extract.c +++ b/index/extract.c @@ -1,4 +1,4 @@ -/* $Id: extract.c,v 1.163 2004-09-27 10:44:49 adam Exp $ +/* $Id: extract.c,v 1.164 2004-10-01 14:50:22 heikki Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps @@ -1542,7 +1542,7 @@ static void extract_add_complete_field (RecWord *p) int i = 0, remain = p->length; int first; /* first position */ -yaz_log(LOG_DEBUG, "Complete field, w='%s'", p->string); +yaz_log(LOG_DEBUG, "Complete field, w='%.*s'", p->length, p->string); if (remain > 0) map = zebra_maps_input (p->zebra_maps, p->reg_type, &b, remain, 1); -- 1.7.10.4