[evolution-data-server] Pretend successful read when skipping 3+ part of multipart/signed



commit be9289ac09d16872ce494484c77c06ec4a0f9878
Author: Milan Crha <mcrha redhat com>
Date:   Mon Aug 22 11:17:01 2011 +0200

    Pretend successful read when skipping 3+ part of multipart/signed

 camel/camel-multipart-signed.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/camel/camel-multipart-signed.c b/camel/camel-multipart-signed.c
index 75ba036..f05043b 100644
--- a/camel/camel-multipart-signed.c
+++ b/camel/camel-multipart-signed.c
@@ -166,6 +166,7 @@ multipart_signed_parse_content (CamelMultipartSigned *mps)
 				mps->end1--;
 		} else {
 			g_warning("multipart/signed has more than 2 parts, remaining parts ignored");
+			state = CAMEL_MIME_PARSER_STATE_MULTIPART_END;
 			break;
 		}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]