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:
5168b35
)
In zebra_register_open, only call zebraExplain_open if all previous
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 31 Mar 2006 08:51:26 +0000
(08:51 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 31 Mar 2006 08:51:26 +0000
(08:51 +0000)
calls are succesful (ZEBRA_OK).
index/zebraapi.c
patch
|
blob
|
history
diff --git
a/index/zebraapi.c
b/index/zebraapi.c
index
c91b5b2
..
35d02d8
100644
(file)
--- a/
index/zebraapi.c
+++ b/
index/zebraapi.c
@@
-1,4
+1,4
@@
-/* $Id: zebraapi.c,v 1.208 2006-03-29 10:43:24 adam Exp $
+/* $Id: zebraapi.c,v 1.209 2006-03-31 08:51:26 adam Exp $
Copyright (C) 1995-2005
Index Data ApS
@@
-459,7
+459,7
@@
struct zebra_register *zebra_register_open(ZebraService zs, const char *name,
ret = ZEBRA_FAIL;
}
}
- if (reg->records)
+ if (ret == ZEBRA_OK)
{
reg->zei = zebraExplain_open(reg->records, reg->dh,
res, rw, reg,