-/* $Id: pazpar2.c,v 1.45 2007-01-19 21:16:11 adam Exp $ */
+/* $Id: pazpar2.c,v 1.47 2007-02-04 21:48:21 quinn Exp $ */
#include <stdlib.h>
#include <stdio.h>
for (ndb = 0; db->databases[ndb]; ndb++)
databaselist[ndb] = db->databases[ndb];
- a->u.presentRequest->preferredRecordSyntax =
+ a->u.searchRequest->preferredRecordSyntax =
yaz_oidval_to_z3950oid(global_parameters.odr_out,
CLASS_RECSYN, VAL_USMARC);
a->u.searchRequest->smallSetUpperBound = &ssub;
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);