diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-11-01 05:41:26 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-11-01 05:41:26 +0800 |
commit | f48db35928c31854f828f04d52b5ee9df858e4e5 (patch) | |
tree | 8af24d75b2810e5b8f44a7c7bc4109ff8926a733 /camel/camel-mime-part-utils.c | |
parent | 613453b1095e325149b8d37e5731d415e1d5f9bd (diff) | |
download | gsoc2013-evolution-f48db35928c31854f828f04d52b5ee9df858e4e5.tar.gz gsoc2013-evolution-f48db35928c31854f828f04d52b5ee9df858e4e5.tar.zst gsoc2013-evolution-f48db35928c31854f828f04d52b5ee9df858e4e5.zip |
Remove a ton of useless snot.
2002-10-31 Jeffrey Stedfast <fejj@ximian.com>
Remove a ton of useless snot.
* Makefile.am: Remove gstring-util.[c,h] from the build.
* gstring-util.[c,h]: Removed.
* string-utils.c (string_equal_for_glist): Removed.
(string_split): Removed.
(string_trim): Removed.
(string_prefix): Removed.
(string_unquote): Removed.
(strip): Removed.
* hash-table-utils.c (g_hash_table_generic_free): Removed.
g_str[n]casecmp functions are deprecated in glib2.
* string-utils.c (strstrcase): Use strncasecmp instead of
g_strncasecmp.
* hash-table-utils.c (g_strcase_equal): Use strcasecmp
instead of g_strcasecmp.
* camel-smime-utils.c (camel_smime_is_smime_v3_signed): Same.
(camel_smime_is_smime_v3_encrypted): Here too.
* camel-sasl-digest-md5.c (decode_data_type): And here.
(parse_server_challenge): Again here.
* camel-pgp-mime.c (camel_pgp_mime_is_rfc2015_signed): Same.
(camel_pgp_mime_is_rfc2015_encrypted): Same
* camel-mime-part-utils.c (check_html_charset): Here too.
* camel-folder-summary.c (camel_system_flag): Same.
svn path=/trunk/; revision=18472
Diffstat (limited to 'camel/camel-mime-part-utils.c')
-rw-r--r-- | camel/camel-mime-part-utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/camel-mime-part-utils.c b/camel/camel-mime-part-utils.c index bf4d434b34..42460b07da 100644 --- a/camel/camel-mime-part-utils.c +++ b/camel/camel-mime-part-utils.c @@ -81,9 +81,9 @@ check_html_charset(char *buffer, int length) case CAMEL_HTML_PARSER_ELEMENT: val = camel_html_parser_tag(hp); d(printf("Got tag: %s\n", val)); - if (g_strcasecmp(val, "meta") == 0 + if (strcasecmp(val, "meta") == 0 && (val = camel_html_parser_attr(hp, "http-equiv")) - && g_strcasecmp(val, "content-type") == 0 + && strcasecmp(val, "content-type") == 0 && (val = camel_html_parser_attr(hp, "content")) && (ct = header_content_type_decode(val))) { charset = header_content_type_param(ct, "charset"); |