X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=util%2Fzebramap.c;fp=util%2Fzebramap.c;h=fd62d4aa5a463a8637fc2ac83ebf5a7639d3b88b;hb=d8deeadf0ff6606e63ce21b2b2499a40d69e482c;hp=ae74a27e1032bec601996cbda02a98fdcef729b7;hpb=de23bf389661453824039451e218797d0b924523;p=idzebra-moved-to-github.git diff --git a/util/zebramap.c b/util/zebramap.c index ae74a27..fd62d4a 100644 --- a/util/zebramap.c +++ b/util/zebramap.c @@ -1,4 +1,4 @@ -/* $Id: zebramap.c,v 1.71 2007-11-08 21:21:58 adam Exp $ +/* $Id: zebramap.c,v 1.72 2007-11-15 08:53:26 adam Exp $ Copyright (C) 1995-2007 Index Data ApS @@ -663,8 +663,8 @@ int zebra_map_tokenize(zebra_map_t zm, if (zm->debug) { wrbuf_rewind(zm->print_str); - wrbuf_verbose_str(zm->print_str, wrbuf_buf(zm->input_str), - wrbuf_len(zm->input_str)); + wrbuf_write_escaped(zm->print_str, wrbuf_buf(zm->input_str), + wrbuf_len(zm->input_str)); yaz_log(YLOG_LOG, "input %s", wrbuf_cstr(zm->print_str)); @@ -685,7 +685,7 @@ int zebra_map_tokenize(zebra_map_t zm, if (zm->debug) { wrbuf_rewind(zm->print_str); - wrbuf_verbose_str(zm->print_str, *result_buf, *result_len); + wrbuf_write_escaped(zm->print_str, *result_buf, *result_len); yaz_log(YLOG_LOG, "output %s", wrbuf_cstr(zm->print_str)); }