Fixed the infinite recursion when calling yaz_log_level_init as the first
[yaz-moved-to-github.git] / ztest / ztest.c
index 8307833..2bbc613 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (C) 1995-2005, Index Data ApS
  * See the file LICENSE for details.
  *
- * $Id: ztest.c,v 1.72 2005-02-01 14:46:48 adam Exp $
+ * $Id: ztest.c,v 1.74 2005-03-03 23:16:20 adam Exp $
  */
 
 /*
@@ -674,20 +674,16 @@ bend_initresult *bend_init(bend_initrequest *q)
     q->bend_delete = ztest_delete;
     q->bend_fetch = ztest_fetch;
     q->bend_scan = ztest_scan;
+#if 0
     q->bend_explain = ztest_explain;
+#endif
     q->bend_srw_scan = ztest_scan;
 
-    yaz_log(YLOG_LOG, "ztest_init handle=%p control=%p",
-           counter, statserv_getcontrol());
-
     return r;
 }
 
 void bend_close(void *handle)
 {
-    yaz_log(YLOG_LOG, "ztest_close handle=%p control=%p",
-           handle, statserv_getcontrol());
-
     xfree (handle);              /* release our user-defined handle */
     return;
 }