projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update NEWS with most important changes
[yaz-moved-to-github.git]
/
zoom
/
zoomtst7.c
diff --git
a/zoom/zoomtst7.c
b/zoom/zoomtst7.c
index
3dfe4b4
..
515c062
100644
(file)
--- a/
zoom/zoomtst7.c
+++ b/
zoom/zoomtst7.c
@@
-1,5
+1,5
@@
/*
/*
- * $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..
*/
*
* API test..
*/
@@
-10,7
+10,7
@@
#include <yaz/xmalloc.h>
#include <yaz/nmem.h>
#include <yaz/xmalloc.h>
#include <yaz/nmem.h>
-
+#include <yaz/log.h>
#include <yaz/zoom.h>
int main(int argc, char **argv)
#include <yaz/zoom.h>
int main(int argc, char **argv)
@@
-138,9
+138,6
@@
int main(int argc, char **argv)
for (j = 0; j < 10; j++)
{
ZOOM_resultset_records (r[j], 0, 0, 1);
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]);
}
for (j = 0; j < 10; j++)
ZOOM_resultset_destroy (r[j]);
@@
-179,9
+176,10
@@
int main(int argc, char **argv)
}
ZOOM_options_destroy (o);
}
ZOOM_options_destroy (o);
- xmalloc_trav("");
+ yaz_log_init_level(LOG_ALL|LOG_MALLOC);
+ xmalloc_trav("1");
nmem_exit();
nmem_exit();
- xmalloc_trav("");
+ xmalloc_trav("2");
exit (0);
}
exit (0);
}