X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=zoom%2Fzoomtst7.c;h=c4ca7de2878444aab7c10df7a751577c2f7ce6a7;hp=7816bd0d62a34ef18d95ffdba592ac8d189db7ee;hb=99f1879827d5be93a6363b5adbc83b824135dd88;hpb=82aa6fe37332e0b2a79a14f3d50c3c9f54034817 diff --git a/zoom/zoomtst7.c b/zoom/zoomtst7.c index 7816bd0..c4ca7de 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-2010 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