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:
cd3f39b
)
Make a copy instead of pointer for member: base
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 28 Jul 2004 08:05:58 +0000
(08:05 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 28 Jul 2004 08:05:58 +0000
(08:05 +0000)
perl/zebra_perl.c
patch
|
blob
|
history
diff --git
a/perl/zebra_perl.c
b/perl/zebra_perl.c
index
3024d4b
..
3143415
100644
(file)
--- a/
perl/zebra_perl.c
+++ b/
perl/zebra_perl.c
@@
-64,7
+64,7
@@
void record_retrieve(RetrievalObj *ro,
res->errString = "";
}
res->position = ro->records[i].position;
- res->base = ro->records[i].base;
+ res->base = odr_strdup(stream, ro->records[i].base);
res->format = (char *)
yaz_z3950_oid_value_to_str(ro->records[i].format, CLASS_RECSYN);
res->buf = buf;