changeset 1062:e6c69e8b7bfa

Add ".txt" as plain/text file extension in the file dpi
author corvid <corvid@lavabit.com>
date Fri, 01 May 2009 19:50:18 -0400
parents 7bec6cfe6b6b
children dffb0bb6a528
files dpi/file.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dpi/file.c	Thu Apr 30 09:46:25 2009 -0400
+++ b/dpi/file.c	Fri May 01 19:50:18 2009 -0400
@@ -483,6 +483,8 @@
               !dStrcasecmp(e, "htm") ||
               !dStrcasecmp(e, "shtml")) {
       return "text/html";
+   } else if (!dStrcasecmp(e, "txt")) {
+      return "text/plain";
    } else {
       return NULL;
    }