X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Fyaz-z-server-ill.cpp;h=154c50e1b52bd92430ff077e6c6e7ec1d814d90c;hb=747b7d6d88367280441801e31a8387c4f224dcea;hp=e22e077ecdf78a01c4fd8643c0b88537b2266659;hpb=d53e0ff85ad63de947da013a0d25a434d12eed40;p=yazpp-moved-to-github.git diff --git a/src/yaz-z-server-ill.cpp b/src/yaz-z-server-ill.cpp index e22e077..154c50e 100644 --- a/src/yaz-z-server-ill.cpp +++ b/src/yaz-z-server-ill.cpp @@ -1,8 +1,11 @@ /* This file is part of the yazpp toolkit. - * Copyright (C) 1998-2010 Index Data and Mike Taylor + * Copyright (C) 1998-2012 Index Data and Mike Taylor * See the file LICENSE for details. */ +#if HAVE_CONFIG_H +#include +#endif #include #include @@ -13,14 +16,14 @@ int Yaz_Facility_ILL::init(Z_Server *s, Z_InitRequest *initRequest, { Z_Options *req = initRequest->options; Z_Options *res = initResponse->options; - + if (ODR_MASK_GET(req, Z_Options_extendedServices)) ODR_MASK_SET(res, Z_Options_extendedServices); return 1; } int Yaz_Facility_ILL::recv(Z_Server *s, Z_APDU *apdu_request) -{ +{ Z_APDU *apdu_response; if (apdu_request->which != Z_APDU_extendedServicesRequest)