X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=recctrl%2Frectext.c;h=ba618d6b30c8eeb4fe9380c2a133a2c00f7d7f46;hb=de79197bd3ee5ef00d6d6353ef4f83d035fe4e1c;hp=352b95e4d882427c2298a40ee407127c7a0443e0;hpb=6ff4dbbbe3f56b7d41be5e9f35aba883e3632d8e;p=idzebra-moved-to-github.git diff --git a/recctrl/rectext.c b/recctrl/rectext.c index 352b95e..ba618d6 100644 --- a/recctrl/rectext.c +++ b/recctrl/rectext.c @@ -1,4 +1,4 @@ -/* $Id: rectext.c,v 1.28 2005-06-14 20:27:33 adam Exp $ +/* $Id: rectext.c,v 1.31 2006-05-10 08:13:30 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -39,13 +39,14 @@ static void *filter_init (Res res, RecType recType) return tinfo; } -static void filter_config(void *clientData, Res res, const char *args) +static ZEBRA_RES filter_config(void *clientData, Res res, const char *args) { - struct filter_info *tinfo = (struct marc_info*) clientData; + struct filter_info *tinfo = (struct filter_info*) clientData; xfree(tinfo->sep); tinfo->sep = 0; if (args && *args) tinfo->sep = xstrdup(args); + return ZEBRA_OK; } static void filter_destroy (void *clientData) @@ -114,7 +115,6 @@ static int filter_extract (void *clientData, struct recExtractCtrl *p) (long) (*fi->p->tellf)(fi->p->fh)); #endif (*p->init)(p, &recWord); - recWord.reg_type = 'w'; do { int i = 0; @@ -255,3 +255,11 @@ idzebra_filter &filter_type, 0, }; +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +