mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
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:
@@ -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. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user