X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=isamb%2Ftstisamb.c;h=5a0d3ec853e5a8992bda8e9e4e6ea9d7e885f4aa;hb=39cb125e7755c6058a93dada8d5172804213cf8e;hp=5f471cdcf069321b479582000b19e91c20dd0e13;hpb=e184d932ecfafa617833b4d45e123faa87969af1;p=idzebra-moved-to-github.git diff --git a/isamb/tstisamb.c b/isamb/tstisamb.c index 5f471cd..5a0d3ec 100644 --- a/isamb/tstisamb.c +++ b/isamb/tstisamb.c @@ -1,4 +1,4 @@ -/* $Id: tstisamb.c,v 1.9 2004-08-23 13:06:46 adam Exp $ +/* $Id: tstisamb.c,v 1.11 2004-11-19 10:27:09 heikki Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps @@ -22,7 +22,7 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include #include -#include +#include #include #include @@ -30,12 +30,12 @@ static void log_item(int level, const void *b, const char *txt) { int x; memcpy(&x, b, sizeof(int)); - yaz_log(LOG_DEBUG, "%s %d", txt, x); + yaz_log(YLOG_DEBUG, "%s %d", txt, x); } static void log_pr(const char *txt) { - yaz_log(LOG_DEBUG, "%s", txt); + yaz_log(YLOG_DEBUG, "%s", txt); } int compare_item(const void *a, const void *b) @@ -109,7 +109,7 @@ void tst_forward(ISAMB isb, int n) isamc_p = isamb_merge (isb, 0 /* new list */ , &isamc_i); /* read the entries */ - pp = isamb_pp_open (isb, isamc_p); + pp = isamb_pp_open (isb, isamc_p, 2); for (i = 0; i