diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-10-30 04:51:24 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-10-30 04:51:24 +0800 |
commit | c764ec4132def1f57f6b9866cef77110ce7d2efa (patch) | |
tree | c93e08f47abfd33f2bc9da7837fc654eaa08b696 | |
parent | aa1899af14ef8c2792b5c25b3aef6f5b6a9a92ac (diff) | |
download | gsoc2013-evolution-c764ec4132def1f57f6b9866cef77110ce7d2efa.tar.gz gsoc2013-evolution-c764ec4132def1f57f6b9866cef77110ce7d2efa.tar.zst gsoc2013-evolution-c764ec4132def1f57f6b9866cef77110ce7d2efa.zip |
Minor fix - should have been using a strNcmp when checking if it was an
2001-10-29 Jeffrey Stedfast <fejj@ximian.com>
* camel-mime-utils.c (header_decode_param): Minor fix - should
have been using a strNcmp when checking if it was an rfc2047
encoded word.
svn path=/trunk/; revision=14360
-rw-r--r-- | camel/ChangeLog | 4 | ||||
-rw-r--r-- | camel/camel-mime-utils.c | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 358b9c2096..59f88d6220 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,9 @@ 2001-10-29 Jeffrey Stedfast <fejj@ximian.com> + * camel-mime-utils.c (header_decode_param): Minor fix - should + have been using a strNcmp when checking if it was an rfc2047 + encoded word. + * camel-pgp-context.c (pgp_sign): Notify the user that PGP 2.6.x is no longer supported and use camel_exception_set() instead of setv() where appropriate. diff --git a/camel/camel-mime-utils.c b/camel/camel-mime-utils.c index 405939183d..b1bf54ca14 100644 --- a/camel/camel-mime-utils.c +++ b/camel/camel-mime-utils.c @@ -1979,6 +1979,7 @@ header_decode_param (const char **in, char **paramp, char **valuep, int *is_rfc2 if (*inptr == '=') { inptr++; value = header_decode_value (&inptr); + if (is_rfc2184) { /* We have ourselves an rfc2184 parameter */ @@ -2000,7 +2001,7 @@ header_decode_param (const char **in, char **paramp, char **valuep, int *is_rfc2 */ *is_rfc2184_param = TRUE; } - } else if (value && !strcmp (value, "=?")) { + } else if (value && !strncmp (value, "=?", 2)) { /* We have a broken param value that is rfc2047 encoded. * Since both Outlook and Netscape/Mozilla do this, we * should handle this case. |