From 7a5a8c9cbc588f8c52f54bacca3e8e07058f713f Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Sat, 5 Mar 2005 09:17:27 +0000 Subject: [PATCH] Fix compilation in mode without libxml2 (bug introduced in previous commit). --- src/seshigh.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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, -- 1.7.10.4