X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=util%2Fsrwtst.c;h=f293620e6d42f4d85ba11fd95f1051708074eef8;hp=1524abc4417ddd455f1e120504a54c35ac5deff5;hb=dc4414aeda179bc8ebe3fc46ac53e4a24d265d16;hpb=fb6d99a0c7e07d9cc4a315c447deaf6564a85505 diff --git a/util/srwtst.c b/util/srwtst.c index 1524abc..f293620 100644 --- a/util/srwtst.c +++ b/util/srwtst.c @@ -1,14 +1,14 @@ /* - * Copyright (C) 1995-2005, Index Data ApS + * Copyright (C) 1995-2007, Index Data ApS * See the file LICENSE for details. * - * $Id: srwtst.c,v 1.4 2005-06-25 15:46:07 adam Exp $ + * $Id: srwtst.c,v 1.7 2007-04-17 20:26:18 adam Exp $ */ #include #include -#if HAVE_XML2 +#if YAZ_HAVE_XML2 Z_SOAP_Handler h[2] = { {"http://www.loc.gov/zing/srw/v1.0/", 0, (Z_SOAP_fun) yaz_srw_codec}, {0, 0, 0} @@ -25,7 +25,6 @@ int main(int argc, char **argv) ODR decode, encode; int debug = 0; - nmem_init(); if (argc == 2 && !strcmp(argv[1], "debug")) debug = 1; no = fread(buf, 1, sizeof(buf), stdin); @@ -96,7 +95,6 @@ int main(int argc, char **argv) } odr_destroy(decode); odr_destroy(encode); - nmem_exit(); exit(0); } #else