X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=isamb%2Ftstisamb.c;h=1eb402ca08cbe24b6742886f0a330fa2f82ef641;hp=5f471cdcf069321b479582000b19e91c20dd0e13;hb=0e56fa84bb4a5985c19a21926e86862c08d84689;hpb=e184d932ecfafa617833b4d45e123faa87969af1 diff --git a/isamb/tstisamb.c b/isamb/tstisamb.c index 5f471cd..1eb402c 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.12 2004-12-08 14:02:37 adam Exp $ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 Index Data Aps @@ -22,20 +22,20 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include #include -#include -#include +#include +#include #include 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