diff options
author | corvid <corvid@lavabit.com> | 2009-05-01 19:50:18 -0400 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2009-05-01 19:50:18 -0400 |
commit | af7665ea0c367d6b7ce536e781bb7c4e0f17116b (patch) | |
tree | 1ff14fb2c4c4d0a65043812cfcd6cb016ec22cec /dpi/file.c | |
parent | 61eb69b770d3475a88b363165698b20cb81e9c3e (diff) |
Add ".txt" as plain/text file extension in the file dpi
Diffstat (limited to 'dpi/file.c')
-rw-r--r-- | dpi/file.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -483,6 +483,8 @@ static const char *File_ext(const char *filename) !dStrcasecmp(e, "htm") || !dStrcasecmp(e, "shtml")) { return "text/html"; + } else if (!dStrcasecmp(e, "txt")) { + return "text/plain"; } else { return NULL; } |