Added missing include of yconfig.h
[yazpp-moved-to-github.git] / zlint / zlint.cpp
index 45c9b23..5c2719d 100644 (file)
@@ -2,7 +2,7 @@
  * Copyright (c) 2004, Index Data.
  * See the file LICENSE for details.
  * 
- * $Id: zlint.cpp,v 1.7 2004-11-30 21:10:31 adam Exp $
+ * $Id: zlint.cpp,v 1.9 2005-05-17 20:33:57 adam Exp $
  */
 
 #include <stdio.h>
@@ -12,7 +12,7 @@
 #include <yaz/options.h>
 #include <yaz/otherinfo.h>
 #include <yaz/charneg.h>
-#include <yaz/ylog.h>
+#include <yaz/log.h>
 
 #include <zlint.h>
 
@@ -160,8 +160,6 @@ int Zlint::initResponseGetVersion(Z_InitResponse *init)
        if (ODR_MASK_GET(init->protocolVersion, no))
        {
            no = i+1;
-           if (off)
-               yaz_log(YLOG_WARN, "%sbad formatted version");
        }
        else
            off = 1;