X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Ffilter_http_file.cpp;h=0aa2b2454e4ca5557231889c620d68ea7dbcd0e4;hb=1648ce02e4909b932a908beaeae93fd41515b9e5;hp=27fcce4b33e8614e741a95766145939b88e24d6b;hpb=1e61b0aa05e2351e33d909f7503eaf936a2d9bb0;p=metaproxy-moved-to-github.git diff --git a/src/filter_http_file.cpp b/src/filter_http_file.cpp index 27fcce4..0aa2b24 100644 --- a/src/filter_http_file.cpp +++ b/src/filter_http_file.cpp @@ -1,23 +1,22 @@ -/* $Id: filter_http_file.cpp,v 1.5 2006-06-10 14:29:12 adam Exp $ +/* $Id: filter_http_file.cpp,v 1.7 2006-11-29 13:00:54 marc Exp $ Copyright (c) 2005-2006, Index Data. See the LICENSE file for details */ #include "config.hpp" - #include "filter.hpp" #include "package.hpp" - -#include - #include "util.hpp" #include "filter_http_file.hpp" +#include + +#include + #include #include - -#include +#include #if HAVE_SYS_TYPES_H #include @@ -236,9 +235,9 @@ void mp::filter::HttpFile::configure(const xmlNode * ptr) if (a_node->type != XML_ELEMENT_NODE) continue; - if (mp::xml::is_element_yp2(a_node, "documentroot")) + if (mp::xml::is_element_mp(a_node, "documentroot")) a.m_file_root = mp::xml::get_text(a_node); - else if (mp::xml::is_element_yp2(a_node, "prefix")) + else if (mp::xml::is_element_mp(a_node, "prefix")) a.m_url_path_prefix = mp::xml::get_text(a_node); else throw mp::filter::FilterException