diff options
author | snowdrop | 2006-07-09 16:24:18 +0000 |
---|---|---|
committer | snowdrop | 2006-07-09 16:24:18 +0000 |
commit | 8e94d40e90b5ed006090af64ff7017a2d4f1a802 (patch) | |
tree | d75f7d201eb5cf7236f2d0dc1ca18a44910eda49 /nanohttp/nanohttp-client.c | |
parent | 1b6cc73eff4ecc9ec0b2be81841d495a3cb53fc9 (diff) | |
download | csoap-8e94d40e90b5ed006090af64ff7017a2d4f1a802.tar.gz csoap-8e94d40e90b5ed006090af64ff7017a2d4f1a802.tar.bz2 |
ported logging function to a seperate file (nanohttp-logging.*)r1_1_0
and renamed all logging functions.
Diffstat (limited to 'nanohttp/nanohttp-client.c')
-rw-r--r-- | nanohttp/nanohttp-client.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nanohttp/nanohttp-client.c b/nanohttp/nanohttp-client.c index 32df75f..7b9376f 100644 --- a/nanohttp/nanohttp-client.c +++ b/nanohttp/nanohttp-client.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: nanohttp-client.c,v 1.40 2006/03/06 13:37:38 m0gg Exp $ +* $Id: nanohttp-client.c,v 1.41 2006/07/09 16:24:19 snowdrop Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -52,6 +52,7 @@ #include "nanohttp-client.h" #include "nanohttp-socket.h" #include "nanohttp-base64.h" +#include "nanohttp-logging.h" /*-------------------------------------------------- FUNCTION: httpc_init @@ -94,7 +95,7 @@ httpc_new(void) if ((status = hsocket_init(&res->sock)) != H_OK) { - log_warn("hsocket_init failed (%s)", herror_message(status)); + log_warn2("hsocket_init failed (%s)", herror_message(status)); return NULL; } |