From 30c77a56e7ce7a6c5a9c98c4149f1df3a1db1b31 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 12 Jan 2004 22:35:26 +0000 Subject: [PATCH] Properly initialize libxml2 --- src/yaz-proxy-main.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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) -- 1.7.10.4