mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-11-08 00:21:59 +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