From 8ae71d0f1dbb847eff541dd5bc3882f39b1a037a Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 16 Oct 2013 12:26:12 +0200 Subject: [PATCH] GFS: make surrogate diagnostic when yaz_record_conv_record fails instead of non-surrogate diagnostic. This is a per-record failure. --- src/seshigh.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/seshigh.c b/src/seshigh.c index d594f43..c88c7e3 100644 --- a/src/seshigh.c +++ b/src/seshigh.c @@ -688,6 +688,7 @@ static int retrieve_fetch(association *assoc, bend_fetch_rr *rr) if (r) { rr->errcode = YAZ_BIB1_SYSTEM_ERROR_IN_PRESENTING_RECORDS; + rr->surrogate_flag = 1; if (details) rr->errstring = odr_strdup(rr->stream, details); } -- 1.7.10.4