diff options
author | m0gg | 2006-03-16 08:48:55 +0000 |
---|---|---|
committer | m0gg | 2006-03-16 08:48:55 +0000 |
commit | 2032f91deaaa0bf87ac968d1310283c7ba9476cf (patch) | |
tree | cb81b5442c632c62b0c1894ceb1b4e83aa4ca332 | |
parent | d7b1b7794bce582d6cba6a357c30a069baabd9b4 (diff) | |
download | csoap-2032f91deaaa0bf87ac968d1310283c7ba9476cf.tar.gz csoap-2032f91deaaa0bf87ac968d1310283c7ba9476cf.tar.bz2 |
log_warn -> log_warn[123] replaced
-rw-r--r-- | nanohttp/nanohttp-socket.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nanohttp/nanohttp-socket.c b/nanohttp/nanohttp-socket.c index 3f41652..07ef214 100644 --- a/nanohttp/nanohttp-socket.c +++ b/nanohttp/nanohttp-socket.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: nanohttp-socket.c,v 1.55 2006/03/07 16:20:37 m0gg Exp $ +* $Id: nanohttp-socket.c,v 1.56 2006/03/16 08:48:55 m0gg Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -302,7 +302,7 @@ hsocket_accept(hsocket_t *sock, hsocket_t *dest) if ((status = hssl_server_ssl(dest)) != H_OK) { - log_warn("hsocket_accept", "SSL startup failed (%s)", herror_message(status)); + log_warn2("SSL startup failed (%s)", herror_message(status)); return status; } @@ -399,7 +399,7 @@ hsocket_nsend(hsocket_t *sock, const byte_t * bytes, int n) if ((status = hssl_write(sock, bytes + total, n, &size)) != H_OK) { - log_warn("hssl_write failed (%s)", herror_message(status)); + log_warn2("hssl_write failed (%s)", herror_message(status)); return status; } @@ -436,7 +436,7 @@ hsocket_read(hsocket_t *sock, byte_t * buffer, int total, int force, int *receiv if ((status = hssl_read(sock, &buffer[totalRead], (size_t)total - totalRead, &count)) != H_OK) { - log_warn("hssl_read failed (%s)", herror_message(status)); + log_warn2("hssl_read failed (%s)", herror_message(status)); return status; } |