diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-07-13 01:30:53 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-07-13 01:30:53 +0000 |
commit | f2065269769a2b4660b21ac873bf805c1836d25a (patch) | |
tree | 97118d0b96d8180d598ba9cb9a5a96050cecc13b /nuttx/netutils/thttpd/tdate_parse.c | |
parent | cc6b48c2485f666f3d722d63094fa0db00eb25f9 (diff) | |
download | px4-nuttx-f2065269769a2b4660b21ac873bf805c1836d25a.tar.gz px4-nuttx-f2065269769a2b4660b21ac873bf805c1836d25a.tar.bz2 px4-nuttx-f2065269769a2b4660b21ac873bf805c1836d25a.zip |
Add NXFLAT CGI programs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1983 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/netutils/thttpd/tdate_parse.c')
-rw-r--r-- | nuttx/netutils/thttpd/tdate_parse.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/nuttx/netutils/thttpd/tdate_parse.c b/nuttx/netutils/thttpd/tdate_parse.c index fcd2cfbda..f1e657029 100644 --- a/nuttx/netutils/thttpd/tdate_parse.c +++ b/nuttx/netutils/thttpd/tdate_parse.c @@ -190,7 +190,9 @@ time_t tdate_parse(char *str) /* Skip initial whitespace ourselves - sscanf is clumsy at this. */ for (cp = str; *cp == ' ' || *cp == '\t'; ++cp) - continue; + { + continue; + } /* And do the sscanfs. WARNING: you can add more formats here, but be * careful! You can easily screw up the parsing of existing formats when |