From c8705844bd924e8e00bc79ec0f4ae92c85f7e48e Mon Sep 17 00:00:00 2001 From: m0gg Date: Sat, 25 Nov 2006 17:03:20 +0000 Subject: Code cleanup --- examples/csoap/simpleclient.c | 3 +-- examples/csoap/simpleserver.c | 5 ++--- examples/csoap/soapclient.c | 35 ++++++++++++++++++++++------------- 3 files changed, 25 insertions(+), 18 deletions(-) (limited to 'examples') diff --git a/examples/csoap/simpleclient.c b/examples/csoap/simpleclient.c index 9add626..1af42f5 100644 --- a/examples/csoap/simpleclient.c +++ b/examples/csoap/simpleclient.c @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: simpleclient.c,v 1.16 2006/11/25 15:06:57 m0gg Exp $ + * $Id: simpleclient.c,v 1.17 2006/11/25 17:03:20 m0gg Exp $ * * CSOAP Project: CSOAP examples project * Copyright (C) 2003-2004 Ferhat Ayaz @@ -26,7 +26,6 @@ #include #include -#include #include #include diff --git a/examples/csoap/simpleserver.c b/examples/csoap/simpleserver.c index 3d2506a..03c3c5d 100644 --- a/examples/csoap/simpleserver.c +++ b/examples/csoap/simpleserver.c @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: simpleserver.c,v 1.24 2006/11/25 15:06:57 m0gg Exp $ + * $Id: simpleserver.c,v 1.25 2006/11/25 17:03:20 m0gg Exp $ * * CSOAP Project: CSOAP examples project * Copyright (C) 2003-2004 Ferhat Ayaz @@ -27,7 +27,6 @@ #include #include -#include #include #include @@ -47,7 +46,7 @@ say_hello(struct SoapCtx *req, struct SoapCtx *res) herror_t err; char *name; - log_verbose1("service request"); + printf("service request"); xmlNodePtr method, node; diff --git a/examples/csoap/soapclient.c b/examples/csoap/soapclient.c index ec6374c..e39802a 100644 --- a/examples/csoap/soapclient.c +++ b/examples/csoap/soapclient.c @@ -1,22 +1,31 @@ -/* soapclient.c -// compile with -// gcc soapclient.c -o soapclient -lcsoap -*/ -/* Author: Adrianus Warmenhoven */ - +/****************************************************************** + * $Id: soapclient.c,v 1.11 2006/11/25 17:03:20 m0gg Exp $ + * + * CSOAP Project: CSOAP examples project + * Copyright (C) 2003-2006 Adrianus Warmehoven + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA02111-1307USA + * + * Author: Adrianus Warmenhoven + ******************************************************************/ #include #include -#include #include -#include #include -#include - -// #include -// #include -// #include #include #include -- cgit v1.1-32-gdbae