X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=index%2Fzebraapi.c;h=c0395fbcdd81e6a3e0a4fd0a85e21e4e510bc24d;hp=e47132ca28a8492cd4abe2e9f59b9cc5cda9611b;hb=00d6544408e2de88277e091fb7f8f4dfe3949558;hpb=bb39ca3dd76e6339f66813bca1e64b644760e5a2 diff --git a/index/zebraapi.c b/index/zebraapi.c index e47132c..c0395fb 100644 --- a/index/zebraapi.c +++ b/index/zebraapi.c @@ -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)