From 899c6e872ce56a69bca11f9f0f2ca3147d0be852 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 5 Jul 2006 15:43:59 +0000 Subject: [PATCH] Check for missing query in testclient --- test/api/testclient.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/api/testclient.c b/test/api/testclient.c index 4ac8e08..6ad9f9f 100644 --- a/test/api/testclient.c +++ b/test/api/testclient.c @@ -1,5 +1,5 @@ /* - * $Id: testclient.c,v 1.4 2006-06-13 20:04:38 adam Exp $ + * $Id: testclient.c,v 1.5 2006-07-05 15:43:59 adam Exp $ * * Z39.50 client specifically for Zebra testing. */ @@ -68,7 +68,7 @@ int main(int argc, char **argv) } } - if (!target || !target) + if (!target || !query) { printf ("%s: missing target/query\n", prog); printf ("usage:\n%s [options] target query \n", prog); -- 1.7.10.4