diff options
author | Dmitry Sivachenko <demon@FreeBSD.org> | 2007-07-05 09:15:41 +0000 |
---|---|---|
committer | Dmitry Sivachenko <demon@FreeBSD.org> | 2007-07-05 09:15:41 +0000 |
commit | 8ffbeff52994c88d4a2c9e5be967ff915f1f4cc6 (patch) | |
tree | 2d7d331b956c45afb8b7ba6744d71ea2b54a3c4c /www/links/files | |
parent | 7f2acdc743f6a675d717a1c7169e59fe96aea89d (diff) |
Notes
Diffstat (limited to 'www/links/files')
-rw-r--r-- | www/links/files/patch-types.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/www/links/files/patch-types.c b/www/links/files/patch-types.c index b0feba5dcce9..e68d4a8041db 100644 --- a/www/links/files/patch-types.c +++ b/www/links/files/patch-types.c @@ -1,9 +1,9 @@ ---- types.c.orig Thu Mar 24 10:36:47 2005 -+++ types.c Thu Mar 24 10:38:12 2005 -@@ -796,7 +796,8 @@ - if (*ct == '.') ext = ct + 1; - else if (dir_sep(*ct)) ext = NULL; - if (ext) while (ext[extl] && !dir_sep(ext[extl]) && !end_of_dir(url, ext[extl])) extl++; +--- types.c.orig Thu Jul 5 13:10:37 2007 ++++ types.c Thu Jul 5 13:12:07 2007 +@@ -807,7 +807,8 @@ + ext = NULL; + } + if (ext) while (ext[extl] && ext[extl] != '.' && !dir_sep(ext[extl]) && !end_of_dir(url, ext[extl])) extl++; - if ((extl == 3 && !casecmp(ext, "htm", 3)) || + if (force_html || + (extl == 3 && !casecmp(ext, "htm", 3)) || |