mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-20 05:21:59 -04:00
Tidy up SuperH port a bit ready for release.
This commit is contained in:
parent
e35180acd9
commit
450e344455
|
@ -297,6 +297,15 @@ static PT_THREAD( handle_input ( struct httpd_state *s ) )
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
s->inputbuf[PSOCK_DATALEN( &s->sin ) - 1] = 0;
|
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) );
|
strncpy( s->filename, &s->inputbuf[0], sizeof(s->filename) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -187,7 +187,7 @@ PT_THREAD(psock_send(register struct psock *s, const char *buf,
|
||||||
/* Save the length of and a pointer to the data that is to be
|
/* Save the length of and a pointer to the data that is to be
|
||||||
sent. */
|
sent. */
|
||||||
s->sendptr = (unsigned char*)buf;
|
s->sendptr = (unsigned char*)buf;
|
||||||
s->sendlen = len;
|
s->sendlen = (unsigned short)len;
|
||||||
|
|
||||||
s->state = STATE_NONE;
|
s->state = STATE_NONE;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue