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:
cb0268e
)
Fix complication for YAZ, when libxml2 is not present.
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 14 Jun 2006 05:47:10 +0000
(
05:47
+0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 14 Jun 2006 05:47:10 +0000
(
05:47
+0000)
src/srwutil.c
patch
|
blob
|
history
diff --git
a/src/srwutil.c
b/src/srwutil.c
index
c6e0c8b
..
841b571
100644
(file)
--- a/
src/srwutil.c
+++ b/
src/srwutil.c
@@
-2,7
+2,7
@@
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: srwutil.c,v 1.43 2006-06-05 18:13:01 adam Exp $
+ * $Id: srwutil.c,v 1.44 2006-06-14 05:47:10 adam Exp $
*/
/**
* \file srwutil.c
*/
/**
* \file srwutil.c
@@
-1207,7
+1207,9
@@
int yaz_sru_soap_encode(Z_HTTP_Request *hreq, Z_SRW_PDU *srw_pdu,
ODR odr, const char *charset)
{
Z_SOAP_Handler handlers[2] = {
ODR odr, const char *charset)
{
Z_SOAP_Handler handlers[2] = {
+#if HAVE_XML2
{"http://www.loc.gov/zing/srw/", 0, (Z_SOAP_fun) yaz_srw_codec},
{"http://www.loc.gov/zing/srw/", 0, (Z_SOAP_fun) yaz_srw_codec},
+#endif
{0, 0, 0}
};
Z_SOAP *p = (Z_SOAP*) odr_malloc(odr, sizeof(*p));
{0, 0, 0}
};
Z_SOAP *p = (Z_SOAP*) odr_malloc(odr, sizeof(*p));