diff options
author | m0gg | 2006-03-15 15:11:47 +0000 |
---|---|---|
committer | m0gg | 2006-03-15 15:11:47 +0000 |
commit | 494e876583a255ba9564dace2cbe55c5832c824b (patch) | |
tree | 2e5ab75407edd0f735ea8dff1ac763e6eae5f3ef /libcsoap | |
parent | b48bca92b89568d50e1b5c2fe23ebe913058ad0a (diff) | |
download | csoap-494e876583a255ba9564dace2cbe55c5832c824b.tar.gz csoap-494e876583a255ba9564dace2cbe55c5832c824b.tar.bz2 |
SoapEnv->cur in soap_env_new_from_doc fixed
Diffstat (limited to 'libcsoap')
-rw-r--r-- | libcsoap/Makefile.am | 1 | ||||
-rw-r--r-- | libcsoap/soap-env.c | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/libcsoap/Makefile.am b/libcsoap/Makefile.am index 73f64ab..dcbac69 100644 --- a/libcsoap/Makefile.am +++ b/libcsoap/Makefile.am @@ -10,4 +10,5 @@ libcsoap_la_HEADERS=soap-xml.h soap-fault.h soap-env.h soap-service.h \ soap-router.h soap-client.h soap-server.h soap-ctx.h libcsoap_la_LDFLAGS= -version-info @csoap_version@ -release @csoap_release@ +libcsoap_la_CFLAGS=-I${top_srcdir} 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; |