X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=test%2Ftsticonv.c;h=b9b54365fe93584997c201339558db800015e7d6;hb=1bbc43ce88a03e20f3ddf503ba27ef6703d91d9a;hp=61492b5fc65690255be6856e443c26fe2e546269;hpb=2a7d3ab36a99c81e9d33bd370cf03a020525f49e;p=yaz-moved-to-github.git diff --git a/test/tsticonv.c b/test/tsticonv.c index 61492b5..b9b5436 100644 --- a/test/tsticonv.c +++ b/test/tsticonv.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: tsticonv.c,v 1.12 2005-10-28 18:36:59 adam Exp $ + * $Id: tsticonv.c,v 1.13 2006-01-29 21:59:13 adam Exp $ */ #if HAVE_CONFIG_H @@ -15,38 +15,43 @@ #include #include +#include static int compare_buffers(char *msg, int no, int expect_len, const char *expect_buf, int got_len, const char *got_buf) { - int i; if (expect_len == got_len && !memcmp(expect_buf, got_buf, expect_len)) return 1; - printf("tsticonv test=%s i=%d failed\n", msg, no); - printf("off got exp\n"); - for (i = 0; i