diff options
author | snowdrop | 2004-11-06 11:24:22 +0000 |
---|---|---|
committer | snowdrop | 2004-11-06 11:24:22 +0000 |
commit | c00f5c34425c3b93279bfbfa73640dcd256e8caa (patch) | |
tree | 5458cec8cbabadf1c6ad8de59731ff59a5cb261c /examples/csoap | |
parent | 138dbb259caa731d7aecc34d9360accd1fb7ab9d (diff) | |
download | csoap-c00f5c34425c3b93279bfbfa73640dcd256e8caa.tar.gz csoap-c00f5c34425c3b93279bfbfa73640dcd256e8caa.tar.bz2 |
fixed bug : changed req->env to res->envr1_0_3
Diffstat (limited to 'examples/csoap')
-rw-r--r-- | examples/csoap/simpleserver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/csoap/simpleserver.c b/examples/csoap/simpleserver.c index fef16f0..4726df0 100644 --- a/examples/csoap/simpleserver.c +++ b/examples/csoap/simpleserver.c @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: simpleserver.c,v 1.12 2004/11/02 23:09:19 snowdrop Exp $ + * $Id: simpleserver.c,v 1.13 2004/11/06 11:24:22 snowdrop Exp $ * * CSOAP Project: CSOAP examples project * Copyright (C) 2003-2004 Ferhat Ayaz @@ -47,7 +47,7 @@ herror_t say_hello(SoapCtx *req, SoapCtx* res) while (node) { name = (char*)xmlNodeListGetString(node->doc, node->xmlChildrenNode, 1); - soap_env_add_itemf(req->env,"xsd:string", "echo", "Hello '%s'", name); + soap_env_add_itemf(res->env,"xsd:string", "echo", "Hello '%s'", name); node = soap_xml_get_next(node); } |