From b46b773cc6e248927da0fca356411bf86ffe2396 Mon Sep 17 00:00:00 2001 From: Sebastian Hammer Date: Sun, 4 Feb 2007 21:48:21 +0000 Subject: [PATCH] Allowed ccl filter override --- src/pazpar2.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pazpar2.c b/src/pazpar2.c index 36b6b65..9d10f84 100644 --- a/src/pazpar2.c +++ b/src/pazpar2.c @@ -1,4 +1,4 @@ -/* $Id: pazpar2.c,v 1.46 2007-01-26 19:30:51 quinn Exp $ */ +/* $Id: pazpar2.c,v 1.47 2007-02-04 21:48:21 quinn Exp $ */ #include #include @@ -1603,7 +1603,8 @@ int main(int argc, char **argv) start_http_listener(); start_proxy(); - global_parameters.ccl_filter = load_cclfile("../etc/default.bib"); + if (!global_parameters.ccl_filter) + global_parameters.ccl_filter = load_cclfile("../etc/default.bib"); global_parameters.yaz_marc = yaz_marc_create(); yaz_marc_subfield_str(global_parameters.yaz_marc, "\t"); global_parameters.odr_in = odr_createmem(ODR_DECODE); -- 1.7.10.4