[gmime] Compare against xsupported in the second string compare
- From: Jeffrey Stedfast <fejj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gmime] Compare against xsupported in the second string compare
- Date: Sun, 5 Aug 2012 17:13:44 +0000 (UTC)
commit 7cf1db5012c759b6cc6233de1fb63a01eb15fbd7
Author: Jeffrey Stedfast <fejj gnome org>
Date: Sun Aug 5 13:13:09 2012 -0400
Compare against xsupported in the second string compare
2012-08-05 Jeffrey Stedfast <jeff xamarin com>
* gmime/gmime-multipart-signed.c (check_protocol_supported): Oops,
need to compare against xsupported in the second string compare.
Fixes bug #674032
ChangeLog | 7 +++++++
gmime/gmime-multipart-signed.c | 2 +-
2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 0eff17a..09af19c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2012-08-05 Jeffrey Stedfast <jeff xamarin com>
+
+ * gmime/gmime-multipart-signed.c (check_protocol_supported): Oops,
+ need to compare against xsupported in the second string compare.
+
+ Fixes bug #674032
+
2012-06-13 Jeffrey Stedfast <fejj gnome org>
* README: Bumped version
diff --git a/gmime/gmime-multipart-signed.c b/gmime/gmime-multipart-signed.c
index 0ea7338..15c5dea 100644
--- a/gmime/gmime-multipart-signed.c
+++ b/gmime/gmime-multipart-signed.c
@@ -349,7 +349,7 @@ check_protocol_supported (const char *protocol, const char *supported)
* "application/pkcs7-signature", then we also want to
* match "application/x-pkcs7-signature". */
xsupported = g_strdup_printf ("%.*sx-%s", subtype - supported, supported, subtype);
- rv = !g_ascii_strcasecmp (protocol, supported);
+ rv = !g_ascii_strcasecmp (protocol, xsupported);
g_free (xsupported);
return rv;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]