From: Heikki Levanto Date: Fri, 1 Oct 2004 14:50:22 +0000 (+0000) Subject: fixed a debug log message X-Git-Tag: snippet.version.1~306 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=2ccf6569d40973c1e3707e4fb366e7a89fc02a2b;p=idzebra-moved-to-github.git fixed a debug log message --- 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);