X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=recctrl%2Fmarcread.c;h=0719d54a5c0d2e9f5bf50719e5c8cd1002c1926d;hb=b912fcbe609de53861c5cf9b5196986dd97a1462;hp=a0fdcac574eab2aca457fe0c81f78e27a8f196c3;hpb=5437b50633032595afe6f87dc0f989bc92a5aea8;p=idzebra-moved-to-github.git diff --git a/recctrl/marcread.c b/recctrl/marcread.c index a0fdcac..0719d54 100644 --- a/recctrl/marcread.c +++ b/recctrl/marcread.c @@ -1,6 +1,6 @@ -/* $Id: marcread.c,v 1.27 2004-11-19 10:27:12 heikki Exp $ - Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004 - Index Data Aps +/* $Id: marcread.c,v 1.31 2005-03-31 12:42:06 adam Exp $ + Copyright (C) 1995-2005 + Index Data ApS This file is part of the Zebra server. @@ -24,7 +24,6 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA #include #include -#include #include #include #include @@ -653,7 +652,7 @@ static int is_empty(char *s) for (p = s; *p; p++) { - if (!isspace(*p)) + if (!isspace(*(unsigned char *)p)) return 0; } return 1; @@ -805,6 +804,7 @@ static int retrieve_marc(void *clientData, struct recRetrieveCtrl *ctrl) } static struct recType marc_type = { + 0, "grs.marc", init_marc, config_marc, @@ -824,6 +824,7 @@ static int retrieve_marcxml(void *clientData, struct recRetrieveCtrl *ctrl) } static struct recType marcxml_type = { + 0, "grs.marcxml", init_marc, config_marc,