diff options
author | Xavier Roche <xroche@users.noreply.github.com> | 2012-03-19 13:00:04 +0000 |
---|---|---|
committer | Xavier Roche <xroche@users.noreply.github.com> | 2012-03-19 13:00:04 +0000 |
commit | 4aec03f2cbabc19cf31e7d6f9fdcd6c84cfa861e (patch) | |
tree | 06ba27421c30be1aa1f3c4e911e7a7c7d4ed28fc /src/htsname.c | |
parent | 660b569b0980fc8f71b03ed666dd02eec8388b4c (diff) |
httrack 3.42.3
Diffstat (limited to 'src/htsname.c')
-rw-r--r-- | src/htsname.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/htsname.c b/src/htsname.c index c0f74d8..1a48f9f 100644 --- a/src/htsname.c +++ b/src/htsname.c @@ -395,7 +395,9 @@ int url_savename(char* adr_complete, char* fil_complete, char* save, mime_from_file[0] = 0; get_httptype(opt, mime_from_file, fil, 1); if (!strnotempty(mime_from_file) || strcasecmp(mime_type, mime_from_file) != 0) { /* different mime for this type */ - ext_chg = 1; + if (!may_unknown(opt, mime_type)) { + ext_chg = 1; + } } else { ext_chg = 0; } |