X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=zoom%2Fzoomtst4.c;h=1aa4b5fd03b74db410a5d164126bc33d82cf9fc0;hb=31c5e5fa92f5980deac3c042b765e4148329cd1b;hp=9bc0eaa24cb254ab2c266b0f631d95e62c2af351;hpb=fb6d99a0c7e07d9cc4a315c447deaf6564a85505;p=yaz-moved-to-github.git diff --git a/zoom/zoomtst4.c b/zoom/zoomtst4.c index 9bc0eaa..1aa4b5f 100644 --- a/zoom/zoomtst4.c +++ b/zoom/zoomtst4.c @@ -1,8 +1,6 @@ -/* - * $Id: zoomtst4.c,v 1.8 2005-06-25 15:46:08 adam Exp $ - * - * Asynchronous multi-target going through proxy doing search and retrieve - * using present. +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2010 Index Data + * See the file LICENSE for details. */ #include @@ -77,8 +75,8 @@ int main(int argc, char **argv) ZOOM_connection_option_get(z[i], "host"), errmsg, error, addinfo); else - printf ("%s: %d hits\n", ZOOM_connection_option_get(z[i], "host"), - ZOOM_resultset_size(r[i])); + printf ("%s: %ld hits\n", ZOOM_connection_option_get(z[i], "host"), + (long) ZOOM_resultset_size(r[i])); } /* destroy stuff and exit */ @@ -94,6 +92,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