1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-30 16:24:09 +03:00

added lua test cases

git-svn-id: svn://svn.code.sf.net/p/axtls/code/trunk@128 9a5d90b5-6617-0410-8a86-bb477d3ed2e3
This commit is contained in:
cameronrich
2007-09-17 21:48:39 +00:00
parent 69003c01ac
commit ab7cbe8310
28 changed files with 659 additions and 34 deletions

View File

@ -622,7 +622,7 @@ void procsendfile(struct connstruct *cn)
#if defined(CONFIG_HTTP_HAS_CGI)
/* Should this be a bit more dynamic? It would mean more calls to malloc etc */
#define CGI_ARG_SIZE 16
#define CGI_ARG_SIZE 17
static void proccgi(struct connstruct *cn)
{
@ -771,7 +771,8 @@ static void proccgi(struct connstruct *cn)
if (cgi_index >= CGI_ARG_SIZE)
{
printf("Content-type: text/plain\n\nToo many CGI args\n");
printf("Content-type: text/plain\n\nToo many CGI args (%d, %d)\n",
cgi_index, CGI_ARG_SIZE);
_exit(1);
}