Fixed the infinite recursion when calling yaz_log_level_init as the first
[yaz-moved-to-github.git] / zoom / zoomtst7.c
index 68f3165..c1c9d8d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: zoomtst7.c,v 1.11 2002-07-31 14:06:09 adam Exp $
+ * $Id: zoomtst7.c,v 1.13 2005-02-03 09:09:55 adam Exp $
  *
  * API test..
  */
@@ -10,7 +10,7 @@
 
 #include <yaz/xmalloc.h>
 #include <yaz/nmem.h>
-
+#include <yaz/log.h>
 #include <yaz/zoom.h>
 
 int main(int argc, char **argv)
@@ -176,9 +176,6 @@ int main(int argc, char **argv)
 
     }
     ZOOM_options_destroy (o);
-    xmalloc_trav("");
-    nmem_exit();
-    xmalloc_trav("");
     exit (0);
 }