Optimzed PETSCII support.
This commit is contained in:
parent
f9e389d33e
commit
7acad03398
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,7 @@
|
|||
*
|
||||
* Author: Adam Dunkels <adam@sics.se>
|
||||
*
|
||||
* $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 <string.h>
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue