summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar mrcsys2006-01-25 18:12:06 +0000
committerGravatar mrcsys2006-01-25 18:12:06 +0000
commit7aa4bcb19845cf3c6c799945da9a3d3057ae3a13 (patch)
treef13ce8d83a2976adb3134eb0c873e7babf4aa840
parent71d63fe322877a20cfa1dda72fbbad0c14232ecc (diff)
downloadcsoap-7aa4bcb19845cf3c6c799945da9a3d3057ae3a13.tar.gz
csoap-7aa4bcb19845cf3c6c799945da9a3d3057ae3a13.tar.bz2
fixed a bug that was preventing the return of default namespaces
-rw-r--r--libcsoap/soap-env.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libcsoap/soap-env.c b/libcsoap/soap-env.c
index 5859dbc..9b83abc 100644
--- a/libcsoap/soap-env.c
+++ b/libcsoap/soap-env.c
@@ -1,5 +1,5 @@
/******************************************************************
-* $Id: soap-env.c,v 1.12 2006/01/10 11:29:04 snowdrop Exp $
+* $Id: soap-env.c,v 1.13 2006/01/25 18:12:06 mrcsys Exp $
*
* CSOAP Project: A SOAP client/server library in C
* Copyright (C) 2003 Ferhat Ayaz
@@ -591,7 +591,8 @@ soap_env_find_urn(SoapEnv * env, char *urn)
return 0;
}
- if (node->ns && node->ns->prefix)
+ /* if (node->ns && node->ns->prefix) MRC 1/25/2006 */
+ if (node->ns)
{
ns = xmlSearchNs(body->doc, node, node->ns->prefix);
if (ns != NULL)