X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=ztest%2Fztest.c;h=e7502124b3691e47d2e27288e6fcb370783cc329;hb=99deca38579f9e6c01550312e8004477a26921a8;hp=c7f7fdbf1080e32c736c06953e514ad4f083771a;hpb=d62fb74edd3775095d23f2bffbace2b60cd3c57f;p=yaz-moved-to-github.git diff --git a/ztest/ztest.c b/ztest/ztest.c index c7f7fdb..e750212 100644 --- a/ztest/ztest.c +++ b/ztest/ztest.c @@ -2,7 +2,7 @@ * Copyright (c) 1995-2004, Index Data. * See the file LICENSE for details. * - * $Id: ztest.c,v 1.68 2004-12-30 00:18:04 adam Exp $ + * $Id: ztest.c,v 1.69 2005-01-11 10:44:07 adam Exp $ */ /* @@ -536,6 +536,13 @@ int ztest_scan(void *handle, bend_scan_rr *q) int term_position_req = q->term_position; int num_entries_req = q->num_entries; + if (yaz_matchstr (q->basenames[0], "Default")) + { + q->errcode = 109; + q->errstring = q->basenames[0]; + return 0; + } + q->errcode = 0; q->errstring = 0; q->entries = list;