summaryrefslogtreecommitdiff
path: root/FreeRTOS/Demo/WizNET_DEMO_TERN_186/HTTPTask.c
diff options
context:
space:
mode:
authorrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2013-12-27 14:43:48 +0000
committerrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2013-12-27 14:43:48 +0000
commit2495829d0db7359332a66216e020282ee802c806 (patch)
treeb2f741012a673c062e870239df3a250291325e31 /FreeRTOS/Demo/WizNET_DEMO_TERN_186/HTTPTask.c
parent0f14bb40b9a1dad50708f43d35283e7093e9fa04 (diff)
downloadfreertos-2495829d0db7359332a66216e020282ee802c806.tar.gz
Start to remove unnecessary 'signed char *' casts from strings that are now just plain char * types.
git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@2143 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
Diffstat (limited to 'FreeRTOS/Demo/WizNET_DEMO_TERN_186/HTTPTask.c')
-rw-r--r--FreeRTOS/Demo/WizNET_DEMO_TERN_186/HTTPTask.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/FreeRTOS/Demo/WizNET_DEMO_TERN_186/HTTPTask.c b/FreeRTOS/Demo/WizNET_DEMO_TERN_186/HTTPTask.c
index b6a167bc8..87af91a4b 100644
--- a/FreeRTOS/Demo/WizNET_DEMO_TERN_186/HTTPTask.c
+++ b/FreeRTOS/Demo/WizNET_DEMO_TERN_186/HTTPTask.c
@@ -1,5 +1,5 @@
/*
- FreeRTOS V7.6.0 - Copyright (C) 2013 Real Time Engineers Ltd.
+ FreeRTOS V7.6.0 - Copyright (C) 2013 Real Time Engineers Ltd.
All rights reserved
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.
@@ -63,11 +63,11 @@
1 tab == 4 spaces!
*/
-/*
+/*
* Very simple task that responds with a single WEB page to http requests.
*
- * The WEB page displays task and system status. A semaphore is used to
- * wake the task when there is processing to perform as determined by the
+ * The WEB page displays task and system status. A semaphore is used to
+ * wake the task when there is processing to perform as determined by the
* interrupts generated by the Ethernet interface.
*/
@@ -131,7 +131,7 @@ static void prvHTTPInit( void );
static void prvNetifInit( void );
/*
- * Generate the dynamic components of the served WEB page and transmit the
+ * Generate the dynamic components of the served WEB page and transmit the
* entire page through the socket.
*/
static void prvTransmitHTTP( unsigned char socket );
@@ -181,17 +181,17 @@ unsigned char ucState;
if( ( sLen = select( i, SEL_RECV ) ) > 0 )
{
- if( sLen > httpSOCKET_BUFFER_SIZE )
+ if( sLen > httpSOCKET_BUFFER_SIZE )
{
sLen = httpSOCKET_BUFFER_SIZE;
}
disable();
-
- sLen = recv( i, ucSocketBuffer, sLen );
+
+ sLen = recv( i, ucSocketBuffer, sLen );
if( ucConnection[ i ] == 1 )
- {
+ {
/* This is our first time processing a HTTP
request on this connection. */
prvTransmitHTTP( i );
@@ -245,7 +245,7 @@ static void prvNetifInit( void )
/* See definition of 'sysinit' in socket.c
- 8 KB transmit buffer, and 8 KB receive buffer available. These buffers
are shared by all 4 channels.
- - (0x55, 0x55) configures the send and receive buffers at
+ - (0x55, 0x55) configures the send and receive buffers at
httpSOCKET_BUFFER_SIZE bytes for each of the 4 channels. */
sysinit( 0x55, 0x55 );
}
@@ -260,7 +260,7 @@ extern short usCheckStatus;
send( socket, ( unsigned char * ) HTML_OUTPUT_BEGIN, strlen( HTML_OUTPUT_BEGIN ) );
/* Generate then send the table showing the status of each task. */
- vTaskList( ucSocketBuffer );
+ vTaskList( ( char * ) ucSocketBuffer );
send( socket, ( unsigned char * ) ucSocketBuffer, strlen( ucSocketBuffer ) );
/* Send the number of times the idle task has looped. */
@@ -271,7 +271,7 @@ extern short usCheckStatus;
sprintf( ucSocketBuffer, "The tick count is 0x%08lx<br>", xTaskGetTickCount() );
send( socket, ( unsigned char * ) ucSocketBuffer, strlen( ucSocketBuffer ) );
- /* Show a message indicating whether or not the check task has discovered
+ /* Show a message indicating whether or not the check task has discovered
an error in any of the standard demo tasks. */
if( usCheckStatus == 0 )
{