From 494e876583a255ba9564dace2cbe55c5832c824b Mon Sep 17 00:00:00 2001 From: m0gg Date: Wed, 15 Mar 2006 15:11:47 +0000 Subject: SoapEnv->cur in soap_env_new_from_doc fixed --- libcsoap/soap-env.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libcsoap/soap-env.c') 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; -- cgit v1.1-32-gdbae