From e9491ff7054c93b1fd2887767a0c83d57102c53f Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 14 Sep 2000 15:13:30 +0000 Subject: camel_folder_append is perfectly happy to take a NULL info. * mail-ops.c (setup_append_mail): camel_folder_append is perfectly happy to take a NULL info. svn path=/trunk/; revision=5429 --- mail/ChangeLog | 5 +++++ mail/mail-ops.c | 6 ------ 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index a3f09a6a17..e46b43918e 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2000-09-14 Dan Winship + + * mail-ops.c (setup_append_mail): camel_folder_append is perfectly + happy to take a NULL info. + 2000-09-14 Michael Meeks * folder-browser-factory.c: move fn to bonobo. diff --git a/mail/mail-ops.c b/mail/mail-ops.c index cf513df8d0..8c6fb49210 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -887,12 +887,6 @@ setup_append_mail (gpointer in_data, gpointer op_data, CamelException *ex) return; } - if (!input->info) { - camel_exception_set (ex, CAMEL_EXCEPTION_INVALID_PARAM, - "No message info specified for append_mail operation."); - return; - } - if (!CAMEL_IS_FOLDER (input->folder)) { camel_exception_set (ex, CAMEL_EXCEPTION_INVALID_PARAM, "Bad done_folder specified for append_mail operation."); -- cgit v1.2.3