From: Adam Dickmeiss Date: Fri, 30 May 2008 11:36:35 +0000 (+0200) Subject: Fix diagnostic for MARC and present request out of range X-Git-Tag: v3.0.30~28 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=a341ccc0007ba1c05ac5a14a9f1cf92f7b576245;p=yaz-moved-to-github.git Fix diagnostic for MARC and present request out of range --- diff --git a/ztest/ztest.c b/ztest/ztest.c index 7ed5e2a..fb9fd8d 100644 --- a/ztest/ztest.c +++ b/ztest/ztest.c @@ -522,6 +522,7 @@ int ztest_fetch(void *handle, bend_fetch_rr *r) if (!cp) { r->errcode = YAZ_BIB1_PRESENT_REQUEST_OUT_OF_RANGE; + return 0; } else {