Fix diagnostic for MARC and present request out of range
authorAdam Dickmeiss <adam@indexdata.dk>
Fri, 30 May 2008 11:36:35 +0000 (13:36 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Fri, 30 May 2008 11:36:35 +0000 (13:36 +0200)
ztest/ztest.c

index 7ed5e2a..fb9fd8d 100644 (file)
@@ -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
         {