diff options
-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; |