X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fseshigh.c;h=1aea6702e99b8e4e42a44bffbb96c77021ff1741;hb=7a5a8c9cbc588f8c52f54bacca3e8e07058f713f;hp=c812921b264fc7a912d6dce0b4efe915b1fc8418;hpb=7857ed3da7f4c6ed8bd99ad567cb3999b83b2c53;p=yaz-moved-to-github.git diff --git a/src/seshigh.c b/src/seshigh.c index c812921..1aea670 100644 --- a/src/seshigh.c +++ b/src/seshigh.c @@ -2,7 +2,7 @@ * Copyright (C) 1995-2005, Index Data ApS * See the file LICENSE for details. * - * $Id: seshigh.c,v 1.49 2005-03-03 23:16:20 adam Exp $ + * $Id: seshigh.c,v 1.50 2005-03-05 09:17:27 adam Exp $ */ /** * \file seshigh.c @@ -916,6 +916,7 @@ static void srw_bend_search(association *assoc, request *req, static char *srw_bend_explain_default(void *handle, bend_explain_rr *rr) { +#if HAVE_XML2 xmlNodePtr ptr = rr->server_node_ptr; if (!ptr) return 0; @@ -944,6 +945,7 @@ static char *srw_bend_explain_default(void *handle, bend_explain_rr *rr) return 0; } } +#endif return 0; } @@ -1756,7 +1758,7 @@ static Z_APDU *process_initRequest(association *assoc, request *reqb) assoc->init->implementation_name, odr_prepend(assoc->encode, "GFS", resp->implementationName)); - version = odr_strdup(assoc->encode, "$Revision: 1.49 $"); + version = odr_strdup(assoc->encode, "$Revision: 1.50 $"); if (strlen(version) > 10) /* check for unexpanded CVS strings */ version[strlen(version)-2] = '\0'; resp->implementationVersion = odr_prepend(assoc->encode,