- if (bad)
- yaz_log(LOG_LOG, "<<<<<<<<< return1 lev=%d res=%d", level, res);
-#endif
- return -1; /* error */
- }
- if (res == -1)
- {
-#if BER_ANY_DEBUG
- if (bad)
- yaz_log(LOG_LOG, "<<<<<<<<< return3 lev=%d res=-1", level);
+ yaz_log(YLOG_LOG, "<<<<<<<<< return1 lev=%d res=%d", level, res);