Do not build for Ubuntu raring, quantal (obsolete)
[idzebra-moved-to-github.git] / index / zebraapi.c
index e47132c..c0395fb 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the Zebra server.
-   Copyright (C) 2004-2013 Index Data
+   Copyright (C) Index Data
 
 Zebra is free software; you can redistribute it and/or modify it under
 the terms of the GNU General Public License as published by the Free
@@ -2422,7 +2422,10 @@ ZEBRA_RES zebra_register_check(ZebraHandle zh, const char *spec)
     else if (!strcmp(spec, "quick"))
         flags = 0;
     else
+    {
+        yaz_log(YLOG_WARN, "Unknown check spec: %s", spec);
         return ZEBRA_FAIL;
+    }
 
     yaz_log(YLOG_LOG, "zebra_register_check begin flags=%u", flags);
     if (zebra_begin_read(zh) == ZEBRA_OK)