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
(parent:
f90459f
)
Avoid mixed stmt/var declare
author
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 21 Jan 2010 15:11:04 +0000
(16:11 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Thu, 21 Jan 2010 15:11:04 +0000
(16:11 +0100)
src/zoom-c.c
patch
|
blob
|
history
diff --git
a/src/zoom-c.c
b/src/zoom-c.c
index
42f30a0
..
14922ac
100644
(file)
--- a/
src/zoom-c.c
+++ b/
src/zoom-c.c
@@
-2081,8
+2081,9
@@
static const char *get_record_format(ZOOM_record rec, int *len,
if (*format == '1' && len)
{
/* try to XML format res */
- xmlKeepBlanksDefault(0);
- xmlDocPtr doc = xmlParseMemory(res, *len);
+ xmlDocPtr doc;
+ xmlKeepBlanksDefault(0); /* get get xmlDocFormatMemory to work! */
+ doc = xmlParseMemory(res, *len);
if (doc)
{
if (rec->xml_mem)