X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=zoom%2Fzoomtst3.c;h=5ac8ef507bf54fa0d4636bfd4c2d2722c0f30851;hp=769df73af0daa6f9d6c0e0523bb845f942c16dfd;hb=77c5a4fca8b516fd39b8ba213daed17a465a6b2a;hpb=b6aa93dcb5c07ed09b664c006b5f33b0135a0854 diff --git a/zoom/zoomtst3.c b/zoom/zoomtst3.c index 769df73..5ac8ef5 100644 --- a/zoom/zoomtst3.c +++ b/zoom/zoomtst3.c @@ -1,12 +1,12 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2010 Index Data + * Copyright (C) 1995-2012 Index Data * See the file LICENSE for details. */ #include #include #include -#include +#include #include @@ -27,7 +27,7 @@ int main(int argc, char **argv) "%s number target query\n", *argv, *argv); exit (1); } - if (argc == 4 && isdigit(argv[1][0]) && !strchr(argv[1],'.')) + if (argc == 4 && yaz_isdigit(argv[1][0]) && !strchr(argv[1],'.')) { no = atoi(argv[1]); same_target = 1; @@ -41,6 +41,7 @@ int main(int argc, char **argv) /* get first 10 records of result set (using piggyback) */ ZOOM_options_set (o, "count", "10"); + ZOOM_options_set (o, "step", "5"); /* preferred record syntax */ ZOOM_options_set (o, "preferredRecordSyntax", "usmarc");