projects
/
pazpar2-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:
76ced2e
)
Make Pazpar2 work on Libxml2 2.4
author
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 12 Oct 2009 08:29:56 +0000
(10:29 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Mon, 12 Oct 2009 08:29:56 +0000
(10:29 +0200)
src/pazpar2_config.c
patch
|
blob
|
history
diff --git
a/src/pazpar2_config.c
b/src/pazpar2_config.c
index
a350786
..
2ceda81
100644
(file)
--- a/
src/pazpar2_config.c
+++ b/
src/pazpar2_config.c
@@
-1071,7
+1071,11
@@
struct conf_config *config_create(const char *fname, int verbose)
{
yaz_log(YLOG_LOG, "Configuration %s after include processing",
fname);
+#if LIBXML_VERSION >= 20600
xmlDocFormatDump(yaz_log_file(), doc, 0);
+#else
+ xmlDocDump(yaz_log_file(), doc);
+#endif
}
r = parse_config(config, n);
}