From: Adam Dickmeiss Date: Mon, 12 Jan 2004 22:35:26 +0000 (+0000) Subject: Properly initialize libxml2 X-Git-Tag: YAZPP.0.7.5.larry~5 X-Git-Url: http://git.indexdata.com/?p=yazpp-moved-to-github.git;a=commitdiff_plain;h=30c77a56e7ce7a6c5a9c98c4149f1df3a1db1b31 Properly initialize libxml2 --- diff --git a/src/yaz-proxy-main.cpp b/src/yaz-proxy-main.cpp index 21796f6..4a7a9b7 100644 --- a/src/yaz-proxy-main.cpp +++ b/src/yaz-proxy-main.cpp @@ -2,7 +2,7 @@ * Copyright (c) 1998-2004, Index Data. * See the file LICENSE for details. * - * $Id: yaz-proxy-main.cpp,v 1.29 2004-01-07 13:40:06 adam Exp $ + * $Id: yaz-proxy-main.cpp,v 1.30 2004-01-12 22:35:26 adam Exp $ */ #include @@ -180,6 +180,11 @@ static void child_run(Yaz_SocketManager *m, int run) int main(int argc, char **argv) { +#if HAVE_XSLT + xmlInitMemory(); + + LIBXML_TEST_VERSION +#endif int cont = 1; int run = 1; Yaz_SocketManager mySocketManager; @@ -187,7 +192,6 @@ int main(int argc, char **argv) static_yaz_proxy = &proxy; - args(&proxy, argc, argv); if (debug)