From 8a6946b18003fae6400a137389f0cb13d0ac4bd6 Mon Sep 17 00:00:00 2001 From: m0gg Date: Sat, 3 Nov 2007 22:40:09 +0000 Subject: Split nanoHTTP and cSOAP logging --- examples/csoap/Makefile.in | 2 +- examples/csoap/echoattachments-server.c | 4 ++-- examples/csoap/simpleserver.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'examples/csoap') diff --git a/examples/csoap/Makefile.in b/examples/csoap/Makefile.in index a2d9fa9..2d4062b 100644 --- a/examples/csoap/Makefile.in +++ b/examples/csoap/Makefile.in @@ -219,7 +219,7 @@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ # -# $Revision: 1.1 $ +# $Revision: 1.2 $ # LDADD = ../../nanohttp/libnanohttp.la ../../libcsoap/libcsoap.la INCLUDES = -I${top_srcdir} diff --git a/examples/csoap/echoattachments-server.c b/examples/csoap/echoattachments-server.c index e6b4872..7bda226 100755 --- a/examples/csoap/echoattachments-server.c +++ b/examples/csoap/echoattachments-server.c @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: echoattachments-server.c,v 1.13 2007/01/01 22:54:46 m0gg Exp $ + * $Id: echoattachments-server.c,v 1.14 2007/11/03 22:40:09 m0gg Exp $ * * CSOAP Project: CSOAP examples project * Copyright (C) 2003-2004 Ferhat Ayaz @@ -72,7 +72,7 @@ main(int argc, char **argv) herror_t err; struct SoapRouter *router; - hlog_set_level(HLOG_VERBOSE); + nanohttp_log_set_loglevel(NANOHTTP_LOG_VERBOSE); err = soap_server_init_args(argc, argv); if (err != H_OK) diff --git a/examples/csoap/simpleserver.c b/examples/csoap/simpleserver.c index 0bd7341..6c6b154 100644 --- a/examples/csoap/simpleserver.c +++ b/examples/csoap/simpleserver.c @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: simpleserver.c,v 1.29 2007/01/01 18:58:05 m0gg Exp $ + * $Id: simpleserver.c,v 1.30 2007/11/03 22:40:09 m0gg Exp $ * * CSOAP Project: CSOAP examples project * Copyright (C) 2003-2004 Ferhat Ayaz @@ -74,7 +74,7 @@ say_hello(struct SoapCtx *req, struct SoapCtx *res) soap_env_add_itemf(res->env, "xsd:string", "echo", "Hello '%s'", name); if (name) xmlFree(name); - node = soap_xml_get_next(node); + node = soap_xml_get_next_element(node); } printf("service request done\n"); -- cgit v1.1-32-gdbae