-/*
- * $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 <stdio.h>
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 */
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab