projects
/
idzebra-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
zebra_register_check: warn for unknown options
[idzebra-moved-to-github.git]
/
index
/
zebraapi.c
diff --git
a/index/zebraapi.c
b/index/zebraapi.c
index
e47132c
..
afbb1e9
100644
(file)
--- a/
index/zebraapi.c
+++ b/
index/zebraapi.c
@@
-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)