diff options
author | m0gg | 2007-11-03 22:40:09 +0000 |
---|---|---|
committer | m0gg | 2007-11-03 22:40:09 +0000 |
commit | 8a6946b18003fae6400a137389f0cb13d0ac4bd6 (patch) | |
tree | 1fb0e6f58de5596f8dae00998da18472fb4952a1 /libcsoap/soap-ctx.c | |
parent | c1a7b2dabdc691139b744f0d4750f3b797b69073 (diff) | |
download | csoap-8a6946b18003fae6400a137389f0cb13d0ac4bd6.tar.gz csoap-8a6946b18003fae6400a137389f0cb13d0ac4bd6.tar.bz2 |
Split nanoHTTP and cSOAP logging
Diffstat (limited to 'libcsoap/soap-ctx.c')
-rwxr-xr-x | libcsoap/soap-ctx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcsoap/soap-ctx.c b/libcsoap/soap-ctx.c index 4d595f4..3adbc5e 100755 --- a/libcsoap/soap-ctx.c +++ b/libcsoap/soap-ctx.c @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: soap-ctx.c,v 1.14 2006/11/25 15:06:57 m0gg Exp $ + * $Id: soap-ctx.c,v 1.15 2007/11/03 22:40:09 m0gg Exp $ * * CSOAP Project: A SOAP client/server library in C * Copyright (C) 2003-2004 Ferhat Ayaz @@ -45,8 +45,8 @@ #include <nanohttp/nanohttp-error.h> #include <nanohttp/nanohttp-common.h> -#include <nanohttp/nanohttp-logging.h> +#include "soap-logging.h" #include "soap-fault.h" #include "soap-env.h" #include "soap-ctx.h" @@ -58,7 +58,7 @@ soap_ctx_new(struct SoapEnv * env) /* should only be used internally */ if (!(ctx = (struct SoapCtx *) malloc(sizeof(struct SoapCtx)))) { - log_error2("malloc failed (%s)", strerror(errno)); + log_error("malloc failed (%s)", strerror(errno)); return NULL; } |