diff options
Diffstat (limited to 'amiga/filetype.c')
-rw-r--r-- | amiga/filetype.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/amiga/filetype.c b/amiga/filetype.c index 2f22ba509..394b6384a 100644 --- a/amiga/filetype.c +++ b/amiga/filetype.c @@ -32,7 +32,7 @@ const char *fetch_filetype(const char *unix_path) { - static char mimetype[20]; + static char mimetype[50]; STRPTR ttype = NULL; struct DiskObject *dobj = NULL; BPTR lock = 0; @@ -90,7 +90,7 @@ const char *fetch_filetype(const char *unix_path) } } - if(!mimetype) strcpy(mimetype,"text/plain"); /* If all else fails */ + if(!mimetype) strcpy(mimetype,"text/html"); /* If all else fails */ return mimetype; } |