diff options
Diffstat (limited to 'libcsoap')
-rw-r--r-- | libcsoap/soap-router.c | 6 | ||||
-rw-r--r-- | libcsoap/soap-server.c | 3 | ||||
-rw-r--r-- | libcsoap/soap-service.c | 7 |
3 files changed, 11 insertions, 5 deletions
diff --git a/libcsoap/soap-router.c b/libcsoap/soap-router.c index 1d2141e..9c409d5 100644 --- a/libcsoap/soap-router.c +++ b/libcsoap/soap-router.c @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: soap-router.c,v 1.1 2004/02/03 08:10:05 snowdrop Exp $ + * $Id: soap-router.c,v 1.2 2004/05/12 22:23:30 snowdrop Exp $ * * CSOAP Project: A SOAP client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -87,15 +87,17 @@ SoapService* soap_router_find_service(SoapRouter *router, void soap_router_free(SoapRouter *router) { SoapServiceNode *node; - + log_verbose2("enter: router=%p", router); if (router == NULL) return; while (router->service_head) { node = router->service_head->next; +/* log_verbose2("soap_service_free(%p)\n", router->service_head->service);*/ soap_service_free(router->service_head->service); free(router->service_head); router->service_head = node; } free(router); + log_verbose1("leave with success"); } diff --git a/libcsoap/soap-server.c b/libcsoap/soap-server.c index edde627..ac259e8 100644 --- a/libcsoap/soap-server.c +++ b/libcsoap/soap-server.c @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: soap-server.c,v 1.1 2004/02/03 08:10:05 snowdrop Exp $ + * $Id: soap-server.c,v 1.2 2004/05/12 22:23:30 snowdrop Exp $ * * CSOAP Project: A SOAP client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -92,6 +92,7 @@ void soap_server_destroy() while (node != NULL) { tmp = node->next; + log_verbose2("soap_router_free(%p)", node->router); soap_router_free(node->router); free(node->context); free(node); diff --git a/libcsoap/soap-service.c b/libcsoap/soap-service.c index b30c101..992e91d 100644 --- a/libcsoap/soap-service.c +++ b/libcsoap/soap-service.c @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: soap-service.c,v 1.1 2004/02/03 08:10:05 snowdrop Exp $ + * $Id: soap-service.c,v 1.2 2004/05/12 22:23:30 snowdrop Exp $ * * CSOAP Project: A SOAP client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -73,7 +73,8 @@ SoapService *soap_service_new(const char* urn, void soap_service_free(SoapService *service) { - + log_verbose2("enter: service=%p", service); + if (service == NULL) return; if (strcmp(service->urn, "")) @@ -83,4 +84,6 @@ void soap_service_free(SoapService *service) free(service->method); free(service); + log_verbose1("leave with success"); } + |