Tidy up SuperH port a bit ready for release.

This commit is contained in:
Richard Barry 2010-02-18 13:23:00 +00:00
parent e35180acd9
commit 450e344455
3 changed files with 30 additions and 21 deletions

View file

@ -297,6 +297,15 @@ static PT_THREAD( handle_input ( struct httpd_state *s ) )
else
{
s->inputbuf[PSOCK_DATALEN( &s->sin ) - 1] = 0;
/* Process any form input being sent to the server. */
#if UIP_CONF_PROCESS_HTTPD_FORMS == 1
{
extern void vApplicationProcessFormInput( char *pcInputString );
vApplicationProcessFormInput( s->inputbuf );
}
#endif
strncpy( s->filename, &s->inputbuf[0], sizeof(s->filename) );
}