projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
972bcea
)
zebra_register_check: warn for unknown options
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 24 Jun 2013 09:41:27 +0000
(11:41 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 24 Jun 2013 09:41:27 +0000
(11:41 +0200)
index/zebraapi.c
patch
|
blob
|
history
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)