summaryrefslogtreecommitdiffstats
path: root/libcsoap/soap-env.c
diff options
context:
space:
mode:
authorGravatar m0gg2006-03-15 15:11:47 +0000
committerGravatar m0gg2006-03-15 15:11:47 +0000
commit494e876583a255ba9564dace2cbe55c5832c824b (patch)
tree2e5ab75407edd0f735ea8dff1ac763e6eae5f3ef /libcsoap/soap-env.c
parentb48bca92b89568d50e1b5c2fe23ebe913058ad0a (diff)
downloadcsoap-494e876583a255ba9564dace2cbe55c5832c824b.tar.gz
csoap-494e876583a255ba9564dace2cbe55c5832c824b.tar.bz2
SoapEnv->cur in soap_env_new_from_doc fixed
Diffstat (limited to 'libcsoap/soap-env.c')
-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 590e5f1..b16a1f3 100644
--- a/libcsoap/soap-env.c
+++ b/libcsoap/soap-env.c
@@ -1,5 +1,5 @@
/******************************************************************
-* $Id: soap-env.c,v 1.18 2006/03/06 13:37:38 m0gg Exp $
+* $Id: soap-env.c,v 1.19 2006/03/15 15:11:47 m0gg Exp $
*
* CSOAP Project: A SOAP client/server library in C
* Copyright (C) 2003 Ferhat Ayaz
@@ -185,7 +185,8 @@ soap_env_new_from_doc(xmlDocPtr doc, SoapEnv ** out)
env->root = node;
env->header = soap_env_get_header(env);
- env->cur = env->body = soap_env_get_body(env);
+ env->body = soap_env_get_body(env);
+ env->cur = soap_env_get_method(env);
*out = env;