X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Ffilter_virt_db.cpp;h=1b3354c00fded0ac531fb1bd9b31d91769c1596e;hb=4e2380df63a35768405dc9e72e1cce202eef004d;hp=18052194382e2d94aff9e3222ced0f2467bc5f9c;hpb=1c5bd4df344337551fc712d00fb9d4e9f80a48ad;p=metaproxy-moved-to-github.git diff --git a/src/filter_virt_db.cpp b/src/filter_virt_db.cpp index 1805219..1b3354c 100644 --- a/src/filter_virt_db.cpp +++ b/src/filter_virt_db.cpp @@ -248,8 +248,7 @@ yf::VirtualDB::BackendPtr yf::VirtualDB::Frontend::init_backend( // we hope to get an init response error_code = YAZ_BIB1_DATABASE_UNAVAILABLE; if (gdu && gdu->which == Z_GDU_Z3950 - && gdu->u.z3950->which == Z_APDU_initResponse - && *gdu->u.z3950->u.initResponse->result) + && gdu->u.z3950->which == Z_APDU_initResponse) { Z_InitResponse *res = gdu->u.z3950->u.initResponse; if (ODR_MASK_GET(res->options, Z_Options_namedResultSets))