diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-09-08 02:39:06 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-09-08 02:39:06 +0800 |
commit | 646590a8c73292994ce063c9ad826a9794b90f20 (patch) | |
tree | 4b35827cff08164268380f633472b96f2b9f60ca /mail | |
parent | e6dd871ad745483444c5ce8361a9b02313ee5a8b (diff) | |
download | gsoc2013-evolution-646590a8c73292994ce063c9ad826a9794b90f20.tar gsoc2013-evolution-646590a8c73292994ce063c9ad826a9794b90f20.tar.gz gsoc2013-evolution-646590a8c73292994ce063c9ad826a9794b90f20.tar.bz2 gsoc2013-evolution-646590a8c73292994ce063c9ad826a9794b90f20.tar.lz gsoc2013-evolution-646590a8c73292994ce063c9ad826a9794b90f20.tar.xz gsoc2013-evolution-646590a8c73292994ce063c9ad826a9794b90f20.tar.zst gsoc2013-evolution-646590a8c73292994ce063c9ad826a9794b90f20.zip |
Don't free uids, let the camel folder do that when it gets finalized
2000-09-07 Jeffrey Stedfast <fejj@helixcode.com>
* mail-ops.c (do_fetch_mail): Don't free uids, let the camel
folder do that when it gets finalized
svn path=/trunk/; revision=5237
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/mail-ops.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 99b238e33c..8def53ae4a 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2000-09-07 Jeffrey Stedfast <fejj@helixcode.com> + + * mail-ops.c (do_fetch_mail): Don't free uids, let the camel + folder do that when it gets finalized + 2000-09-06 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (mail_do_filter_ondemand): New async function to diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 8a18bd8ea5..d4592aa251 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -162,10 +162,13 @@ do_fetch_mail (gpointer in_data, gpointer op_data, CamelException *ex) for (i = 0; i < uids->len; i++) { CamelMimeMessage *message; + mail_tool_camel_lock_up (); message = camel_folder_get_message (folder, uids->pdata[i], ex); + fprintf (stderr, "about to run the filter\n"); filter_driver_run (filter, message, input->destination, FILTER_SOURCE_INCOMING, TRUE, input->hook_func, input->hook_data); + mail_tool_camel_lock_down (); if (!input->keep_on_server) { guint32 flags; @@ -176,11 +179,8 @@ do_fetch_mail (gpointer in_data, gpointer op_data, CamelException *ex) ~flags); } camel_object_unref (CAMEL_OBJECT (message)); - g_free (uids->pdata[i]); } - g_ptr_array_free (uids, TRUE); - data->empty = FALSE; } mail_tool_camel_lock_down (); |