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:
ee46987
)
Fixed minor bug that could cause zmbol to break it data were emitted
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 5 Dec 2000 14:44:58 +0000
(14:44 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 5 Dec 2000 14:44:58 +0000
(14:44 +0000)
with not parent tags.
recctrl/recgrs.c
patch
|
blob
|
history
diff --git
a/recctrl/recgrs.c
b/recctrl/recgrs.c
index
aaa7cba
..
03fb6d5
100644
(file)
--- a/
recctrl/recgrs.c
+++ b/
recctrl/recgrs.c
@@
-4,7
+4,11
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: recgrs.c,v $
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: recgrs.c,v $
- * Revision 1.37 2000-12-05 12:22:53 adam
+ * Revision 1.38 2000-12-05 14:44:58 adam
+ * Fixed minor bug that could cause zmbol to break it data were emitted
+ * with not parent tags.
+ *
+ * Revision 1.37 2000/12/05 12:22:53 adam
* Termlist source implemented (so that we can index values of XML/SGML
* attributes).
*
* Termlist source implemented (so that we can index values of XML/SGML
* attributes).
*
@@
-444,10
+448,9
@@
static int dumpkeys(data1_node *n, struct recExtractCtrl *p, int level)
printf("NULL\n");
}
printf("NULL\n");
}
- assert(par);
-
- index_tag (par, n, p, level, &wrd);
- }
+ if (par)
+ index_tag (par, n, p, level, &wrd);
+ }
if (p->flagShowRecords && n->which == DATA1N_root)
{
printf("%*s-------------\n\n", level * 4, "");
if (p->flagShowRecords && n->which == DATA1N_root)
{
printf("%*s-------------\n\n", level * 4, "");