X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=zoom%2Fzoomtst7.c;h=4fb83bd3cdf9f60211b892b623a8fa9c7535ac2e;hp=7816bd0d62a34ef18d95ffdba592ac8d189db7ee;hb=ed907bd829d0a9e00cfd1b0f3cf0d41dc68563c6;hpb=82aa6fe37332e0b2a79a14f3d50c3c9f54034817 diff --git a/zoom/zoomtst7.c b/zoom/zoomtst7.c index 7816bd0..4fb83bd 100644 --- a/zoom/zoomtst7.c +++ b/zoom/zoomtst7.c @@ -1,8 +1,7 @@ -/* $Id: zoomtst7.c,v 1.18 2007-03-21 11:27:47 adam Exp $ */ - -/** \file zoomtst7.c - \brief Mix of operations -*/ +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2011 Index Data + * See the file LICENSE for details. + */ #include #include @@ -21,7 +20,6 @@ int main(int argc, char **argv) ZOOM_resultset r[10]; /* and result sets .. */ ZOOM_options o; - nmem_init (); o = ZOOM_options_create (); z = ZOOM_connection_new ("localhost", 9999); @@ -161,13 +159,14 @@ int main(int argc, char **argv) while (ZOOM_event (1, &z)) ; printf (" scan size = %ld\n", (long) ZOOM_scanset_size(scan)); - for (j = 0; j