From a341ccc0007ba1c05ac5a14a9f1cf92f7b576245 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 30 May 2008 13:36:35 +0200 Subject: [PATCH] Fix diagnostic for MARC and present request out of range --- ztest/ztest.c | 1 + 1 file changed, 1 insertion(+) 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 { -- 1.7.10.4