diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-07-11 07:34:01 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-07-11 07:34:01 +0800 |
commit | 56347723d5b1116060f280b9d928a74038938ac2 (patch) | |
tree | 0a2250ae931fa0105508ef2ed774f23ab82e1d7a | |
parent | 206f7e366cd08f13005037f618eb6a7cbb6e5264 (diff) | |
download | gsoc2013-evolution-56347723d5b1116060f280b9d928a74038938ac2.tar gsoc2013-evolution-56347723d5b1116060f280b9d928a74038938ac2.tar.gz gsoc2013-evolution-56347723d5b1116060f280b9d928a74038938ac2.tar.bz2 gsoc2013-evolution-56347723d5b1116060f280b9d928a74038938ac2.tar.lz gsoc2013-evolution-56347723d5b1116060f280b9d928a74038938ac2.tar.xz gsoc2013-evolution-56347723d5b1116060f280b9d928a74038938ac2.tar.zst gsoc2013-evolution-56347723d5b1116060f280b9d928a74038938ac2.zip |
Make sure message is non-NULL before setting the source on it.
2002-07-10 Jeffrey Stedfast <fejj@ximian.com>
* camel-filter-driver.c (get_message_cb): Make sure message is
non-NULL before setting the source on it.
svn path=/trunk/; revision=17415
-rw-r--r-- | camel/ChangeLog | 3 | ||||
-rw-r--r-- | camel/camel-filter-driver.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index b0748803bc..8c8a069355 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,8 @@ 2002-07-10 Jeffrey Stedfast <fejj@ximian.com> + * camel-filter-driver.c (get_message_cb): Make sure message is + non-NULL before setting the source on it. + * camel-gpg-context.c: Renamed stdin to stdin_fd, stdout to stdout_fd, and stderr to stderr_fd in struct _GpgCtx since Solaris' stdin/stdout/etderr variables seem to be macros and are diff --git a/camel/camel-filter-driver.c b/camel/camel-filter-driver.c index e523bf4726..dea33852de 100644 --- a/camel/camel-filter-driver.c +++ b/camel/camel-filter-driver.c @@ -1084,7 +1084,7 @@ get_message_cb (void *data, CamelException *ex) message = camel_folder_get_message (p->source, uid, ex); } - if (source_url && camel_mime_message_get_source (message) == NULL) + if (source_url && message && camel_mime_message_get_source (message) == NULL) camel_mime_message_set_source (message, source_url); return message; |