Add framework for THTTPD example

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1989 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2009-07-18 19:47:08 +00:00
parent 8c17e7f6d0
commit 22fa6bdfb3
14 changed files with 306 additions and 60 deletions
+2 -2
View File
@@ -869,7 +869,7 @@ static void read_file(FILE *instream, char *vfilename, char *filename)
break;
}
putcchar((char)ich);
putchar((char)ich);
}
}
@@ -892,7 +892,7 @@ int main(int argc, char **argv)
/* The MIME type has to be text/html. */
(voidfputs("Content-type: text/html\n\n");
(void)puts("Content-type: text/html\n\n");
/* Get the name that we were run as. */