diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-08-29 03:52:58 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-08-29 03:52:58 +0800 |
commit | 6f794e46346557057768ac38922ca96ea6a68fee (patch) | |
tree | d26f6532d5d01ae20141824f6fe263450a9df19c /camel/camel-mime-filter-tohtml.c | |
parent | bd8e7f99783ca882f4e75c49a44726e83fac4a4f (diff) | |
download | gsoc2013-evolution-6f794e46346557057768ac38922ca96ea6a68fee.tar.gz gsoc2013-evolution-6f794e46346557057768ac38922ca96ea6a68fee.tar.zst gsoc2013-evolution-6f794e46346557057768ac38922ca96ea6a68fee.zip |
Match file: urls too.
2002-08-28 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-filter-tohtml.c (is_protocol): Match file: urls too.
svn path=/trunk/; revision=17900
Diffstat (limited to 'camel/camel-mime-filter-tohtml.c')
-rw-r--r-- | camel/camel-mime-filter-tohtml.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/camel/camel-mime-filter-tohtml.c b/camel/camel-mime-filter-tohtml.c index c1fd13c61b..980d6fcf7f 100644 --- a/camel/camel-mime-filter-tohtml.c +++ b/camel/camel-mime-filter-tohtml.c @@ -262,7 +262,8 @@ is_protocol (char *inptr, char *inend, gboolean *backup) !strncasecmp (inptr, "ftp://", 6) || !strncasecmp (inptr, "nntp://", 7) || !strncasecmp (inptr, "mailto:", 7) || - !strncasecmp (inptr, "news:", 5)) + !strncasecmp (inptr, "news:", 5) || + !strncasecmp (inptr, "file:", 5)) return TRUE; } else if (backup) { *backup = TRUE; |