diff --git a/apps/webserver/httpd.c b/apps/webserver/httpd.c index 473f2e2e6..023d22005 100644 --- a/apps/webserver/httpd.c +++ b/apps/webserver/httpd.c @@ -30,7 +30,7 @@ * * Author: Adam Dunkels * - * $Id: httpd.c,v 1.7 2007/11/24 13:16:30 oliverschmidt Exp $ + * $Id: httpd.c,v 1.8 2007/11/25 23:31:11 oliverschmidt Exp $ */ #include @@ -266,6 +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; + petsciiconv_topetscii(s->inputbuf, PSOCK_DATALEN(&s->sin) - 2); webserver_log(s->inputbuf); } }