From 4059cd22cec1b44fc2d8a13627aaf8e41bfec4f5 Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Sat, 24 Nov 2007 13:16:30 +0000 Subject: [PATCH] Include 'Referer:' in referer log message. --- apps/webserver/httpd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/webserver/httpd.c b/apps/webserver/httpd.c index c9ef3f51e..473f2e2e6 100644 --- a/apps/webserver/httpd.c +++ b/apps/webserver/httpd.c @@ -30,7 +30,7 @@ * * Author: Adam Dunkels * - * $Id: httpd.c,v 1.6 2007/11/17 20:44:07 oliverschmidt Exp $ + * $Id: httpd.c,v 1.7 2007/11/24 13:16:30 oliverschmidt Exp $ */ #include @@ -266,7 +266,7 @@ PT_THREAD(handle_input(struct httpd_state *s)) if(strncmp(s->inputbuf, http_referer, 8) == 0) { s->inputbuf[PSOCK_DATALEN(&s->sin) - 2] = 0; - webserver_log(&s->inputbuf[9]); + webserver_log(s->inputbuf); } }