diff options
author | Peter Williams <peterw@ximian.com> | 2001-08-22 00:36:00 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2001-08-22 00:36:00 +0800 |
commit | 1b72d81e5509bad15d811d71d103f7b93d429e3c (patch) | |
tree | b0bc3614392ecbb0b82888cba582563c59fe5ecd /mail/mail-send-recv.c | |
parent | ee5591ab8403f97732789776bf56b3b444ffcd86 (diff) | |
download | gsoc2013-evolution-1b72d81e5509bad15d811d71d103f7b93d429e3c.tar.gz gsoc2013-evolution-1b72d81e5509bad15d811d71d103f7b93d429e3c.tar.zst gsoc2013-evolution-1b72d81e5509bad15d811d71d103f7b93d429e3c.zip |
Treat the spool provider like IMAP: update instead of performing an
2001-08-21 Peter Williams <peterw@ximian.com>
* mail-send-recv.c (build_dialogue): Treat the spool provider like IMAP:
update instead of performing an explicit receive.
svn path=/trunk/; revision=12344
Diffstat (limited to 'mail/mail-send-recv.c')
-rw-r--r-- | mail/mail-send-recv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c index e70eade3e5..d47d69d278 100644 --- a/mail/mail-send-recv.c +++ b/mail/mail-send-recv.c @@ -277,8 +277,8 @@ static struct _send_data *build_dialogue(GSList *sources, CamelFolder *outbox, c info = g_hash_table_lookup(data->active, source->url); if (info == NULL) { info = g_malloc0(sizeof(*info)); - /* imap is handled differently */ - if (!strncmp(source->url, "imap:", 5)) + /* imap and spool are handled differently */ + if (!strncmp(source->url, "imap:", 5) || !strncmp (source->url, "spool:", 6)) info->type = SEND_UPDATE; else info->type = SEND_RECEIVE; |