projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8f3f825
)
Fix infinite loop (bug introduced by previous commit)
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 28 Aug 2002 19:10:56 +0000
(19:10 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 28 Aug 2002 19:10:56 +0000
(19:10 +0000)
retrieval/d1_marc.c
patch
|
blob
|
history
diff --git
a/retrieval/d1_marc.c
b/retrieval/d1_marc.c
index
f485ffb
..
2252a8c
100644
(file)
--- a/
retrieval/d1_marc.c
+++ b/
retrieval/d1_marc.c
@@
-3,7
+3,7
@@
* See the file LICENSE for details.
* Sebastian Hammer, Adam Dickmeiss
*
- * $Id: d1_marc.c,v 1.25 2002-08-28 12:44:35 adam Exp $
+ * $Id: d1_marc.c,v 1.26 2002-08-28 19:10:56 adam Exp $
*/
@@
-172,6
+172,10
@@
static char *get_data(data1_node *n, int *len)
}
if (n->which == DATA1N_tag)
n = n->child;
+ else if (n->which == DATA1N_data)
+ n = n->next;
+ else
+ break;
}
r = "";
*len = strlen(r);