/*
- * Copyright (c) 1995-2002, Index Data.
+ * Copyright (c) 1995-2003, Index Data.
* See the file LICENSE for details.
*
- * $Id: read-grs.c,v 1.7 2002-03-18 21:33:48 adam Exp $
+ * $Id: read-grs.c,v 1.9 2004-11-18 15:18:14 heikki Exp $
*/
/*
#include <stdlib.h>
#include <yaz/proto.h>
-#include <yaz/log.h>
+#include <yaz/ylog.h>
#define GRS_MAX_FIELDS 50
return r;
if (sscanf(buf, "(%d,%[^)])", &type, value) != 2)
{
- yaz_log(LOG_WARN, "Bad data in '%s'", buf);
+ yaz_log(YLOG_WARN, "Bad data in '%s'", buf);
return 0;
}
if (!type && *value == '0')