Skip to content

Commit

Permalink
Corrected one comment and remove to variables
Browse files Browse the repository at this point in the history
- Corrected the comment in the my_failCmd function.
- Remove declaration of int name_len and int value_len (not used)
  • Loading branch information
edvler committed Mar 1, 2013
1 parent f87474a commit 5df8eb8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions examples/Web_Parms/Web_Parms.ino
Expand Up @@ -154,9 +154,7 @@ void parsedCmd(WebServer &server, WebServer::ConnectionType type, char *url_tail
{
URLPARAM_RESULT rc;
char name[NAMELEN];
int name_len;
char value[VALUELEN];
int value_len;

/* this line sends the standard "we're all OK" headers back to the
browser */
Expand Down Expand Up @@ -219,7 +217,7 @@ void parsedCmd(WebServer &server, WebServer::ConnectionType type, char *url_tail

void my_failCmd(WebServer &server, WebServer::ConnectionType type, char *url_tail, bool tail_complete)
{
/* this line sends the standard "we're all OK" headers back to the
/* this line sends the "HTTP 400 - Bad Request" headers back to the
browser */
server.httpFail();

Expand Down

0 comments on commit 5df8eb8

Please sign in to comment.