From 8e94d40e90b5ed006090af64ff7017a2d4f1a802 Mon Sep 17 00:00:00 2001 From: snowdrop Date: Sun, 9 Jul 2006 16:24:18 +0000 Subject: ported logging function to a seperate file (nanohttp-logging.*) and renamed all logging functions. --- nanohttp/nanohttp-client.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'nanohttp/nanohttp-client.c') 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; } -- cgit v1.1-32-gdbae