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

Niv Sardi nsardi at smartjog.com
Fri Jul 30 07:54:47 PDT 2010


Signed-off-by: Niv Sardi <nsardi at smartjog.com>
---
 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



More information about the Icecast-dev mailing list