X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=server%2Fseshigh.c;h=64c91ec5f1b4ddffe393c6d437dc8b74879394f9;hp=bce072bf27778a65ba5ba4423606a6194f96bf74;hb=718bedef3c688e26b434b25e2e77852ddda6181c;hpb=4c139281f38687ac9e5cf120bd8421d476d51bd6 diff --git a/server/seshigh.c b/server/seshigh.c index bce072b..64c91ec 100644 --- a/server/seshigh.c +++ b/server/seshigh.c @@ -4,7 +4,13 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: seshigh.c,v $ - * Revision 1.39 1995-06-27 13:21:00 quinn + * Revision 1.41 1995-08-02 10:23:06 quinn + * Smallish + * + * Revision 1.40 1995/07/31 14:34:26 quinn + * Fixed bug in process_searchResponse (numberOfRecordsReturned). + * + * Revision 1.39 1995/06/27 13:21:00 quinn * SUTRS support * * Revision 1.38 1995/06/19 12:39:11 quinn @@ -331,6 +337,7 @@ void ir_session(IOCHAN h, int event) req = request_get(); /* get a new request structure */ odr_reset(assoc->decode); odr_setbuf(assoc->decode, assoc->input_buffer, res, 0); +odr_dumpBER(log_file(), assoc->input_buffer, res); if (!z_APDU(assoc->decode, &req->request, 0)) { logf(LOG_LOG, "ODR error on incoming PDU: %s", @@ -935,9 +942,9 @@ static Z_APDU *response_searchRequest(association *assoc, request *reqb, } else { - int toget; + static int toget; Z_ElementSetNames *setnames; - int presst = 0; + static int presst = 0; resp.records = 0; resp.resultCount = &bsrt->hits;