[Icecast-dev] [PATCH 25/31] client_send_400, print 400 message

Niv Sardi
Fri, 30 Jul 2010 14:54:47 -0000

src/client.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/client.c b/src/client.c
index f482c6b..c71102c 100644
--- a/src/client.c
+++ b/src/client.c
@@ -182,6 +182,7 @@ int client_read_bytes (client_t *client, void *buf, unsigned
len)


 void client_send_400(client_t *client, char *message) {
+    ERROR("400 -> %s", message);
     snprintf (client->refbuf->data, PER_CLIENT_REFBUF_SIZE,
             "HTTP/1.0 400 Bad Request\r\n"
             "Content-Type: text/html\r\n\r\n"
--
1.7.1