-/*
- * $Id: zoomtst2.c,v 1.7 2006-03-01 23:24:26 adam Exp $
- *
- * Asynchronous single-target client performing search (no retrieval)
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2011 Index Data
+ * See the file LICENSE for details.
*/
#include <stdio.h>
exit (2);
}
else /* OK print hit count */
- printf ("Result count: %d\n", ZOOM_resultset_size(r));
+ printf ("Result count: %ld\n", (long) ZOOM_resultset_size(r));
ZOOM_resultset_destroy (r);
ZOOM_connection_destroy (z);
exit (0);
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab