X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Ftsticonv.c;h=843df377a6729f3fac2cee083e5a09dc74c6fd65;hb=13473bcae713a0df158fd9620fbeba13663459ca;hp=f1883b96cc0a8c532d2d6c5ab8504888740dad9f;hpb=02ba601656652e2362aee6fd23d1b2ac5c35bcca;p=yaz-moved-to-github.git diff --git a/test/tsticonv.c b/test/tsticonv.c index f1883b9..843df37 100644 --- a/test/tsticonv.c +++ b/test/tsticonv.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: tsticonv.c,v 1.32 2007-10-15 20:45:05 adam Exp $ + * $Id: tsticonv.c,v 1.33 2007-11-16 08:01:47 adam Exp $ */ #if HAVE_CONFIG_H @@ -125,15 +125,15 @@ static int tst_convert(yaz_iconv_t cd, const char *buf, const char *cmpbuf) WRBUF w = wrbuf_alloc(); wrbuf_rewind(w); - wrbuf_verbose_str(w, buf, strlen(buf)); + wrbuf_puts_escaped(w, buf); yaz_log(YLOG_LOG, "input %s", wrbuf_cstr(w)); wrbuf_rewind(w); - wrbuf_verbose_str(w, wrbuf_buf(b), wrbuf_len(b)); + wrbuf_write_escaped(w, wrbuf_buf(b), wrbuf_len(b)); yaz_log(YLOG_LOG, "got %s", wrbuf_cstr(w)); wrbuf_rewind(w); - wrbuf_verbose_str(w, cmpbuf, strlen(cmpbuf)); + wrbuf_puts_escaped(w, cmpbuf); yaz_log(YLOG_LOG, "exp %s", wrbuf_cstr(w)); wrbuf_destroy(w);