2007.
[idzebra-moved-to-github.git] / test / sort / sort1.c
index ea7603b..661570d 100644 (file)
@@ -1,5 +1,5 @@
-/* $Id: sort1.c,v 1.11 2006-09-20 10:51:25 adam Exp $
-   Copyright (C) 1995-2006
+/* $Id: sort1.c,v 1.13 2007-01-15 15:10:24 adam Exp $
+   Copyright (C) 1995-2007
    Index Data ApS
 
 This file is part of the Zebra server.
@@ -30,7 +30,7 @@ static void tst(int argc, char **argv)
     char path[256];
     int i;
 
-    YAZ_CHECK(zebra_select_database(zh, "Default") == ZEBRA_OK);
+    YAZ_CHECK_EQ(zebra_select_database(zh, "Default"), ZEBRA_OK);
 
     zebra_init(zh);