diff options
| author | 2007-11-03 22:40:09 +0000 | |
|---|---|---|
| committer | 2007-11-03 22:40:09 +0000 | |
| commit | 8a6946b18003fae6400a137389f0cb13d0ac4bd6 (patch) | |
| tree | 1fb0e6f58de5596f8dae00998da18472fb4952a1 /examples/csoap | |
| parent | c1a7b2dabdc691139b744f0d4750f3b797b69073 (diff) | |
| download | csoap-8a6946b18003fae6400a137389f0cb13d0ac4bd6.tar.gz csoap-8a6946b18003fae6400a137389f0cb13d0ac4bd6.tar.bz2  | |
Split nanoHTTP and cSOAP logging
Diffstat (limited to 'examples/csoap')
| -rw-r--r-- | examples/csoap/Makefile.in | 2 | ||||
| -rwxr-xr-x | examples/csoap/echoattachments-server.c | 4 | ||||
| -rw-r--r-- | examples/csoap/simpleserver.c | 4 | 
3 files changed, 5 insertions, 5 deletions
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");  | 
