X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=zoom%2Fzoom-benchmark.c;h=19934f6ae136ced101a4eb99611cb025c3a5f85b;hp=229f3cdd4f1da38f68eab83472cac6bfa5a34ac0;hb=99f1879827d5be93a6363b5adbc83b824135dd88;hpb=cc4a5d8761e524821c67a4b13847ec84ba14f8ac diff --git a/zoom/zoom-benchmark.c b/zoom/zoom-benchmark.c index 229f3cd..19934f6 100644 --- a/zoom/zoom-benchmark.c +++ b/zoom/zoom-benchmark.c @@ -1,7 +1,6 @@ -/* - * $Id: zoom-benchmark.c,v 1.20 2007-05-06 20:35:43 adam Exp $ - * - * Asynchronous multi-target client doing search and piggyback retrieval +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2010 Index Data + * See the file LICENSE for details. */ #include @@ -16,10 +15,10 @@ /* naming events */ -static char* zoom_events[10]; +static char* zoom_events[ZOOM_EVENT_MAX+1]; /* re-sorting event numbers to progress numbers */ -static int zoom_progress[10]; +static int zoom_progress[ZOOM_EVENT_MAX+1]; /* commando line parameters */ static struct parameters_t { @@ -429,6 +428,7 @@ int main(int argc, char **argv) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab