From: Adam Dickmeiss Date: Thu, 29 Jan 2004 21:33:39 +0000 (+0000) Subject: Fix bad reference X-Git-Tag: YAZPP.0.7.6.larry~8 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=58b2428baa58dfad26e91d3c7a0f70c765e9a963;p=yazpp-moved-to-github.git Fix bad reference --- diff --git a/src/yaz-proxy-config.cpp b/src/yaz-proxy-config.cpp index d5ab3b2..6dc8293 100644 --- a/src/yaz-proxy-config.cpp +++ b/src/yaz-proxy-config.cpp @@ -2,7 +2,7 @@ * Copyright (c) 1998-2004, Index Data. * See the file LICENSE for details. * - * $Id: yaz-proxy-config.cpp,v 1.25 2004-01-24 21:31:59 adam Exp $ + * $Id: yaz-proxy-config.cpp,v 1.26 2004-01-29 21:33:39 adam Exp $ */ #include @@ -703,7 +703,7 @@ char *Yaz_ProxyConfig::get_explain(ODR odr, const char *name, const char *db, break; if (!ptr1) continue; - for (ptr1 = ptr1->children; ptr; ptr1 = ptr1->next) + for (ptr1 = ptr1->children; ptr1; ptr1 = ptr1->next) if (ptr1->type == XML_ELEMENT_NODE && !strcmp((const char *) ptr1->name, "database")) break;