X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=ztest%2Fztest.c;h=7ddb3c655877af83f71d2d568fdc5bbf09b8c26b;hb=95a0f8e6ad2f79820c7a3cf2248c5c904b41a1e6;hp=c9d4af0fdc2bc512de806c88a35d37fbf4993ffe;hpb=62a5a33362d50820f3ac509fa1412e946d576cff;p=yaz-moved-to-github.git diff --git a/ztest/ztest.c b/ztest/ztest.c index c9d4af0..7ddb3c6 100644 --- a/ztest/ztest.c +++ b/ztest/ztest.c @@ -278,6 +278,8 @@ Z_OtherInformation *build_facet_response(ODR odr, Z_FacetList *facet_list) { oiu->which = Z_OtherInfo_externallyDefinedInfo; oiu->information.externallyDefinedInfo = odr_malloc(odr, sizeof(*oiu->information.externallyDefinedInfo)); oiu->information.externallyDefinedInfo->direct_reference = odr_oiddup(odr, yaz_oid_userinfo_facet_1); + oiu->information.externallyDefinedInfo->descriptor = 0; + oiu->information.externallyDefinedInfo->indirect_reference = 0; oiu->information.externallyDefinedInfo->which = Z_External_userFacets; oiu->information.externallyDefinedInfo->u.facetList = new_list; oi->list[0] = oiu;