projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove incoming requests that can not be handled
[metaproxy-moved-to-github.git]
/
src
/
metaproxy_prog.cpp
diff --git
a/src/metaproxy_prog.cpp
b/src/metaproxy_prog.cpp
index
3784907
..
4f28e4f
100644
(file)
--- a/
src/metaproxy_prog.cpp
+++ b/
src/metaproxy_prog.cpp
@@
-29,6
+29,7
@@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include <metaproxy/filter.hpp>
#include <metaproxy/package.hpp>
#include <metaproxy/filter.hpp>
#include <metaproxy/package.hpp>
+#include <metaproxy/util.hpp>
#include "router_flexml.hpp"
#include "factory_static.hpp"
#include "router_flexml.hpp"
#include "factory_static.hpp"
@@
-190,7
+191,7
@@
static int sc_main(
yaz_log(YLOG_FATAL, "XInclude processing failed");
return 1;
}
yaz_log(YLOG_FATAL, "XInclude processing failed");
return 1;
}
- WRBUF base_path = wrbuf_alloc();
+ mp::wrbuf base_path;
const char *last_p = strrchr(fname,
#ifdef WIN32
'\\'
const char *last_p = strrchr(fname,
#ifdef WIN32
'\\'
@@
-228,7
+229,6
@@
static int sc_main(
yaz_log(YLOG_FATAL, "Unknown Exception");
ret = 1;
}
yaz_log(YLOG_FATAL, "Unknown Exception");
ret = 1;
}
- wrbuf_destroy(base_path);
xmlFreeDoc(doc);
return ret;
}
xmlFreeDoc(doc);
return ret;
}