mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 19:30:12 +01:00
Fixed gz attachment type search in determine_attachment_type()
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
2ed654c87f
commit
e8eb74d07a
@ -959,7 +959,7 @@ char *determine_attachment_type(char *filename, char *type){
|
||||
if(strncasecmp(p, "rar", 3) == 0) return "compressed,";
|
||||
|
||||
// tar.gz has the same type
|
||||
if(strncasecmp(p, "x-gzip", 3) == 0) return "compressed,";
|
||||
if(strncasecmp(p, "gz", 2) == 0) return "compressed,";
|
||||
|
||||
if(strncasecmp(p, "rtf", 3) == 0) return "word,";
|
||||
if(strncasecmp(p, "doc", 3) == 0) return "word,";
|
||||
|
Loading…
Reference in New Issue
Block a user