X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fseshigh.c;h=eb99a79a2353a7858adbfb5aad18b5aca80f037f;hp=4c9f4f612ac0d4107bf211823355129a6bfed408;hb=60b23781949540ad214a331fa335da10f42fae7f;hpb=d7f1bc4eb6c5d8e0d2eba2f040eb9c359eca9e45 diff --git a/src/seshigh.c b/src/seshigh.c index 4c9f4f6..eb99a79 100644 --- a/src/seshigh.c +++ b/src/seshigh.c @@ -1879,8 +1879,7 @@ static void process_http_request(association *assoc, request *req) } else if (sr->which == Z_SRW_explain_request) { - Z_SRW_PDU *res = yaz_srw_get_pdu(o, Z_SRW_explain_response, - sr->srw_version); + Z_SRW_PDU *res = yaz_srw_get_pdu_e(o, Z_SRW_explain_response, sr); stylesheet = sr->u.explain_request->stylesheet; if (num_diagnostic) { @@ -1894,8 +1893,7 @@ static void process_http_request(association *assoc, request *req) } else if (sr->which == Z_SRW_scan_request) { - Z_SRW_PDU *res = yaz_srw_get_pdu(o, Z_SRW_scan_response, - sr->srw_version); + Z_SRW_PDU *res = yaz_srw_get_pdu_e(o, Z_SRW_scan_response, sr); stylesheet = sr->u.scan_request->stylesheet; if (num_diagnostic) {