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 --- libcsoap/soap-service.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libcsoap/soap-service.c') diff --git a/libcsoap/soap-service.c b/libcsoap/soap-service.c index b731d76..813ca5b 100644 --- a/libcsoap/soap-service.c +++ b/libcsoap/soap-service.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: soap-service.c,v 1.13 2006/12/31 17:24:22 m0gg Exp $ +* $Id: soap-service.c,v 1.14 2007/11/03 22:40:09 m0gg Exp $ * * CSOAP Project: A SOAP client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -49,8 +49,8 @@ #include #include -#include +#include "soap-logging.h" #include "soap-fault.h" #include "soap-env.h" #include "soap-ctx.h" @@ -64,7 +64,7 @@ soap_service_node_new(SoapService * service, SoapServiceNode * next) if (!(node = (SoapServiceNode *) malloc(sizeof(SoapServiceNode)))) { - log_error2("malloc failed (%s)", strerror(errno)); + log_error("malloc failed (%s)", strerror(errno)); return NULL; } node->service = service; @@ -80,7 +80,7 @@ soap_service_new(const char *urn, const char *method, SoapServiceFunc f) if (!(service = (SoapService *) malloc(sizeof(SoapService)))) { - log_error2("malloc failed (%s)", strerror(errno)); + log_error("malloc failed (%s)", strerror(errno)); return NULL; } @@ -88,14 +88,14 @@ soap_service_new(const char *urn, const char *method, SoapServiceFunc f) if (urn == NULL) { - log_warn1("urn is NULL"); + log_warn("urn is NULL"); urn = ""; } service->urn = strdup(urn); if (method == NULL) { - log_warn1("method is NULL"); + log_warn("method is NULL"); method = ""; } service->method = strdup(method); -- cgit v1.1-32-gdbae