/*
- * $Id: zoomtst7.c,v 1.10 2002-05-21 08:36:03 adam Exp $
+ * $Id: zoomtst7.c,v 1.12 2002-09-24 08:00:50 adam Exp $
*
* API test..
*/
#include <yaz/xmalloc.h>
#include <yaz/nmem.h>
-
+#include <yaz/log.h>
#include <yaz/zoom.h>
int main(int argc, char **argv)
for (j = 0; j < 10; j++)
{
ZOOM_resultset_records (r[j], 0, 0, 1);
- if (block > 0)
- while (ZOOM_event (1, &z))
- ;
}
for (j = 0; j < 10; j++)
ZOOM_resultset_destroy (r[j]);
}
ZOOM_options_destroy (o);
- xmalloc_trav("");
+ yaz_log_init_level(LOG_ALL|LOG_MALLOC);
+ xmalloc_trav("1");
nmem_exit();
- xmalloc_trav("");
+ xmalloc_trav("2");
exit (0);
}