X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fnormalize_record.c;h=fa39da2aba316ebba218e5a1b0fb2b5667f8ea55;hb=b9c889efbc310cfe669c497c8c5636ef9ad24934;hp=6a2ab5eb0ff03f09cf0cce4ef1ce219473acb6e6;hpb=ba5951a80fdd0da1d28c318852b69a1178cd6bfa;p=pazpar2-moved-to-github.git diff --git a/src/normalize_record.c b/src/normalize_record.c index 6a2ab5e..fa39da2 100644 --- a/src/normalize_record.c +++ b/src/normalize_record.c @@ -45,7 +45,7 @@ struct normalize_record_s { NMEM nmem; }; -normalize_record_t normalize_record_create(struct conf_service *service, +normalize_record_t normalize_record_create(struct conf_config *conf, const char *spec) { NMEM nmem = nmem_create(); @@ -60,7 +60,7 @@ normalize_record_t normalize_record_create(struct conf_service *service, nmem_strsplit(nt->nmem, ",", spec, &stylesheets, &num); for (i = 0; i < num; i++) { - WRBUF fname = conf_get_fname(service, stylesheets[i]); + WRBUF fname = conf_get_fname(conf, stylesheets[i]); *m = nmem_malloc(nt->nmem, sizeof(**m)); (*m)->marcmap = NULL;