[evolution-patches] 44121, invalidly signed mail not showing up
- From: Not Zed <notzed ximian com>
- To: evolution-patches ximian com
- Subject: [evolution-patches] 44121, invalidly signed mail not showing up
- Date: 16 Jun 2003 15:24:08 +0930
not a very serious bug, but an easy fix
Z
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/camel/ChangeLog,v
retrieving revision 1.1829
diff -u -3 -r1.1829 ChangeLog
--- ChangeLog 13 Jun 2003 19:06:50 -0000 1.1829
+++ ChangeLog 16 Jun 2003 05:51:01 -0000
@@ -1,3 +1,10 @@
+2003-06-16 Not Zed <NotZed Ximian com>
+
+ ** See bug #44121
+
+ * camel-multipart-signed.c (signed_get_part): If we can't parse
+ the content, but we have a stream, just use that as the content.
+
2003-06-05 Jeffrey Stedfast <fejj ximian com>
Fix for bug #40788.
Index: camel-multipart-signed.c
===================================================================
RCS file: /cvs/gnome/evolution/camel/camel-multipart-signed.c,v
retrieving revision 1.9
diff -u -3 -r1.9 camel-multipart-signed.c
--- camel-multipart-signed.c 16 May 2003 18:47:49 -0000 1.9
+++ camel-multipart-signed.c 16 Jun 2003 05:51:01 -0000
@@ -334,13 +334,16 @@
return NULL;
} else if (dw->stream == NULL) {
return NULL;
+ } else if (mps->start1 == -1) {
+ stream = dw->stream;
+ camel_object_ref(stream);
} else {
stream = camel_seekable_substream_new((CamelSeekableStream *)dw->stream, mps->start1, mps->end1);
}
camel_stream_reset(stream);
mps->content = camel_mime_part_new();
camel_data_wrapper_construct_from_stream((CamelDataWrapper *)mps->content, stream);
- camel_object_unref((CamelObject *)stream);
+ camel_object_unref(stream);
return mps->content;
case CAMEL_MULTIPART_SIGNED_SIGNATURE:
if (mps->signature)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]