-/*
- * $Id: zoomtst6.c,v 1.10 2005-06-25 15:46:08 adam Exp $
- *
- * Asynchronous multi-target client doing two searches
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2008 Index Data
+ * See the file LICENSE for details.
*/
#include <stdio.h>
{
/* OK, no major errors. Look at the result count */
int pos;
- printf ("%s: %d hits\n", tname, ZOOM_resultset_size(r));
+ printf ("%s: %ld hits\n", tname, (long) ZOOM_resultset_size(r));
/* go through all records at target */
for (pos = 0; pos < 4; pos++)
{
}
if (ZOOM_query_prefix (q, argv[argc-1]))
{
- printf ("bad sort spec: %s\n", argv[argc-1]);
+ printf ("bad prefix query: %s\n", argv[argc-1]);
exit (2);
}
/* queue second search */