diff options
Diffstat (limited to 'camel/providers/maildir')
-rw-r--r-- | camel/providers/maildir/camel-maildir-folder.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/camel/providers/maildir/camel-maildir-folder.c b/camel/providers/maildir/camel-maildir-folder.c index 4ad5409658..2cb81f3e81 100644 --- a/camel/providers/maildir/camel-maildir-folder.c +++ b/camel/providers/maildir/camel-maildir-folder.c @@ -462,8 +462,7 @@ _get_message (CamelFolder *folder, gint number, CamelException *ex) if (!file) return NULL; /* Create the message object */ -#warning use session field here - message = camel_mime_message_new_with_session ((CamelSession *) NULL); + message = camel_mime_message_new (); stream = camel_stream_fs_new_with_name (file, CAMEL_STREAM_FS_READ); if (!message || !stream) { |