diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-07-18 19:47:08 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-07-18 19:47:08 +0000 |
commit | a06a3e444b1f53f34ad78067e68f06cc040ebe31 (patch) | |
tree | fa1a9c4989476f8a46be5a5ad275dc0ec565bd8b /nuttx/netutils/thttpd/cgi-src/ssi.c | |
parent | 0ae84141bbd645eff4c096b608a2aee7704ea17a (diff) | |
download | px4-nuttx-a06a3e444b1f53f34ad78067e68f06cc040ebe31.tar.gz px4-nuttx-a06a3e444b1f53f34ad78067e68f06cc040ebe31.tar.bz2 px4-nuttx-a06a3e444b1f53f34ad78067e68f06cc040ebe31.zip |
Add framework for THTTPD example
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1989 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/netutils/thttpd/cgi-src/ssi.c')
-rw-r--r-- | nuttx/netutils/thttpd/cgi-src/ssi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/netutils/thttpd/cgi-src/ssi.c b/nuttx/netutils/thttpd/cgi-src/ssi.c index befb7f769..a4b81d45a 100644 --- a/nuttx/netutils/thttpd/cgi-src/ssi.c +++ b/nuttx/netutils/thttpd/cgi-src/ssi.c @@ -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. */ |