From: Heikki Levanto Date: Thu, 16 Dec 2004 16:28:18 +0000 (+0000) Subject: Fixed wrong message when getting bad number of hits X-Git-Tag: ZEBRA.1.3.20~22 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=669e4eda30abdd9c9ed1217d1954654d0e607cf6;p=idzebra-moved-to-github.git Fixed wrong message when getting bad number of hits --- diff --git a/test/api/testclient.c b/test/api/testclient.c index e1a17ab..d366b4d 100644 --- a/test/api/testclient.c +++ b/test/api/testclient.c @@ -1,5 +1,5 @@ /* - * $Id: testclient.c,v 1.1 2003-05-21 14:39:22 adam Exp $ + * $Id: testclient.c,v 1.1.2.1 2004-12-16 16:28:18 heikki Exp $ * * Z39.50 client specifically for Zebra testing. */ @@ -102,7 +102,7 @@ int main(int argc, char **argv) if (check_count != -1 && check_count != ZOOM_resultset_size(r)) { printf("Wrong number of hits, expected %d, got %d\n", - expected_hits, ZOOM_resultset_size(r) ); + check_count, ZOOM_resultset_size(r) ); exit(3); } }