From c3fd98b25607d0f7f5977586d188f88ab226a9b8 Mon Sep 17 00:00:00 2001 From: m0gg Date: Tue, 21 Nov 2006 20:58:59 +0000 Subject: decoupling of nanohttp/libcsoap --- examples/nanohttp/http_client.c | 6 +++--- examples/nanohttp/http_server.c | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'examples/nanohttp') diff --git a/examples/nanohttp/http_client.c b/examples/nanohttp/http_client.c index d2ff4c9..4fa5bed 100644 --- a/examples/nanohttp/http_client.c +++ b/examples/nanohttp/http_client.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: http_client.c,v 1.3 2006/11/19 09:40:14 m0gg Exp $ +* $Id: http_client.c,v 1.4 2006/11/21 20:59:02 m0gg Exp $ * * CSOAP Project: A http client/server library in C (example) * Copyright (C) 2003-2004 Ferhat Ayaz @@ -22,8 +22,8 @@ * Email: hero@persua.de ******************************************************************/ #include +#include #include -#include #include #include @@ -116,7 +116,7 @@ int main(int argc, char **argv) { /* Initialize httpc module */ if (httpc_init(argc, argv)) { - log_error1("Can not init httpc"); + log_error1("Cannot init httpc"); exit(1); } diff --git a/examples/nanohttp/http_server.c b/examples/nanohttp/http_server.c index 5801312..420c32f 100644 --- a/examples/nanohttp/http_server.c +++ b/examples/nanohttp/http_server.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: http_server.c,v 1.5 2006/11/19 09:40:14 m0gg Exp $ +* $Id: http_server.c,v 1.6 2006/11/21 20:59:02 m0gg Exp $ * * CSOAP Project: A http client/server library in C (example) * Copyright (C) 2003 Ferhat Ayaz @@ -21,7 +21,6 @@ * * Email: hero@persua.de ******************************************************************/ -#include #include #include #include -- cgit v1.1-32-gdbae