summaryrefslogtreecommitdiff
path: root/nuttx/netutils
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-07-12 00:41:06 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-07-12 00:41:06 +0000
commit32498f8db8a4194609e334ea95b3de569bd92784 (patch)
treefda2dcfc65df604fa2d99cd12319fab8535a5ac1 /nuttx/netutils
parent489c0b453b4e44764516409b62cc73e2c6149b75 (diff)
downloadpx4-nuttx-32498f8db8a4194609e334ea95b3de569bd92784.tar.gz
px4-nuttx-32498f8db8a4194609e334ea95b3de569bd92784.tar.bz2
px4-nuttx-32498f8db8a4194609e334ea95b3de569bd92784.zip
Add gmtime and localtime
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1976 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/netutils')
-rw-r--r--nuttx/netutils/thttpd/mime_types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/nuttx/netutils/thttpd/mime_types.h b/nuttx/netutils/thttpd/mime_types.h
index ef2106af9..531605b66 100644
--- a/nuttx/netutils/thttpd/mime_types.h
+++ b/nuttx/netutils/thttpd/mime_types.h
@@ -62,6 +62,7 @@ struct mime_entry
/* A list of file extensions followed by the corresponding MIME encoding.
* Extensions not found in the table proceed to the mime_types table.
+ * Must be ordered by extension so to support binary searches.
*/
static struct mime_entry enc_tab[] =
@@ -74,6 +75,7 @@ static const int n_enc_tab = sizeof(enc_tab) / sizeof(*enc_tab);
/* A list of file extensions followed by the corresponding MIME type.
* Extensions not found in the table are returned as text/plain.
+ * Must be ordered by extension so to support binary searches.
*/
static struct mime_entry typ_tab[] =