X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=src%2Fmetaproxy_prog.cpp;h=3bf08c481ef1c3238abea6a832a73d2889aff0fb;hb=f0229461b797e40bf949c8a404e4c3ee2e3ac753;hp=721a02e7e860fb52312fd645eb5b4fde88ff7581;hpb=9abbcf5a2724c23bfff66481dbb2aac700b257e8;p=metaproxy-moved-to-github.git diff --git a/src/metaproxy_prog.cpp b/src/metaproxy_prog.cpp index 721a02e..3bf08c4 100644 --- a/src/metaproxy_prog.cpp +++ b/src/metaproxy_prog.cpp @@ -1,7 +1,22 @@ -/* $Id: metaproxy_prog.cpp,v 1.7 2006-11-29 22:37:08 marc Exp $ - Copyright (c) 2005-2006, Index Data. +/* $Id: metaproxy_prog.cpp,v 1.10 2007-05-09 21:23:09 adam Exp $ + Copyright (c) 2005-2007, Index Data. - See the LICENSE file for details +This file is part of Metaproxy. + +Metaproxy is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2, or (at your option) any later +version. + +Metaproxy is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with Metaproxy; see the file LICENSE. If not, write to the +Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA +02111-1307, USA. */ #include "config.hpp" @@ -73,9 +88,8 @@ int main(int argc, char **argv) std::exit(1); } // and perform Xinclude then - if (xmlXIncludeProcess(doc) <= 0) { - std::cerr << "XInclude processing failed\n"; - std::exit(1); + if (xmlXIncludeProcess(doc) > 0) { + std::cerr << "processing XInclude directive\n"; } } else