From 32498f8db8a4194609e334ea95b3de569bd92784 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 12 Jul 2009 00:41:06 +0000 Subject: Add gmtime and localtime git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1976 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/netutils/thttpd/mime_types.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nuttx/netutils') 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[] = -- cgit v1.2.3