X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=zlint%2Ftest-scan-01.cpp;h=151066ad3d7952e53cd1a80c6b1f8191edc1d5e9;hb=6872248ff51c18008f1335ca11dc2e9119abf787;hp=567874c1665e64d27b14c6c535430739bc197b2a;hpb=0084c40d8bc6babaeb0b833b12d9cd625c807525;p=yazpp-moved-to-github.git diff --git a/zlint/test-scan-01.cpp b/zlint/test-scan-01.cpp index 567874c..151066a 100644 --- a/zlint/test-scan-01.cpp +++ b/zlint/test-scan-01.cpp @@ -1,5 +1,5 @@ /* This file is part of the yazpp toolkit. - * Copyright (C) 1998-2012 Index Data and Mike Taylor + * Copyright (C) 1998-2013 Index Data and Mike Taylor * See the file LICENSE for details. */ @@ -37,7 +37,7 @@ Zlint_code Zlint_test_scan_01::init(Zlint *z) ODR_MASK_SET(init->protocolVersion, Z_ProtocolVersion_3); ODR_MASK_SET(init->options, Z_Options_namedResultSets); ODR_MASK_SET(init->options, Z_Options_scan); - + int r = z->send_Z_PDU(apdu, &len); if (r < 0) { @@ -61,9 +61,9 @@ Zlint_code Zlint_test_scan_01::sendTest(Zlint *z) z->odr_encode(), &sr->attributeSet, try_scan[m_scan_no]); - + z->getDatabase(&sr->databaseNames, &sr->num_databaseNames); - + yaz_pqf_destroy (pqf_parser); z->send_Z_PDU(apdu, &len); return TEST_CONTINUE;