summaryrefslogtreecommitdiff
path: root/nuttx/netutils/thttpd/tdate_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/netutils/thttpd/tdate_parse.c')
-rw-r--r--nuttx/netutils/thttpd/tdate_parse.c4
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