aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/providers/imap/camel-imap-store.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 2e0473e300..8cc9dc50bd 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2001-09-10 <NotZed@Ximian.com>
+
+ * providers/imap/camel-imap-store.c (camel_imap_msg_new): Forgot
+ to return the newly allocated msg.
+
2001-09-08 Not Zed <NotZed@Ximian.com>
* providers/local/camel-spool-summary.c (spool_summary_sync_full): Likewise.
diff --git a/camel/providers/imap/camel-imap-store.c b/camel/providers/imap/camel-imap-store.c
index ee5c0800fb..4dff0f3c62 100644
--- a/camel/providers/imap/camel-imap-store.c
+++ b/camel/providers/imap/camel-imap-store.c
@@ -195,6 +195,8 @@ CamelImapMsg *camel_imap_msg_new(void (*receive)(CamelImapStore *store, struct _
msg = g_malloc0(size);
msg->receive = receive;
msg->free = free;
+
+ return msg;
}
void camel_imap_msg_queue(CamelImapStore *store, CamelImapMsg *msg)