aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-send-recv.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-01-28 16:08:49 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-01-28 16:08:49 +0800
commit01c6e724a790c1743bfec5d14b107adfa96e91b1 (patch)
tree51dff57e2a6b144191d3432b583c4a656dd4f0ed /mail/mail-send-recv.c
parente9cddebb2ed8e6d0289f883d6a05b2951198bcb0 (diff)
downloadgsoc2013-evolution-01c6e724a790c1743bfec5d14b107adfa96e91b1.tar
gsoc2013-evolution-01c6e724a790c1743bfec5d14b107adfa96e91b1.tar.gz
gsoc2013-evolution-01c6e724a790c1743bfec5d14b107adfa96e91b1.tar.bz2
gsoc2013-evolution-01c6e724a790c1743bfec5d14b107adfa96e91b1.tar.lz
gsoc2013-evolution-01c6e724a790c1743bfec5d14b107adfa96e91b1.tar.xz
gsoc2013-evolution-01c6e724a790c1743bfec5d14b107adfa96e91b1.tar.zst
gsoc2013-evolution-01c6e724a790c1743bfec5d14b107adfa96e91b1.zip
** See bug #53179
2004-01-28 Not Zed <NotZed@Ximian.com> ** See bug #53179 * mail-tools.c (mail_tool_get_local_movemail_path): Fix the movemail path. * mail-component.c (load_accounts): hack alert! * mail-send-recv.c (get_receive_type): hack alert! hardcode mbox: to be a movemail source. svn path=/trunk/; revision=24486
Diffstat (limited to 'mail/mail-send-recv.c')
-rw-r--r--mail/mail-send-recv.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c
index 84217219fa..c85b519876 100644
--- a/mail/mail-send-recv.c
+++ b/mail/mail-send-recv.c
@@ -267,6 +267,11 @@ static send_info_t get_receive_type(const char *url)
CamelProvider *provider;
CamelException ex;
+ /* HACK: since mbox is ALSO used for native evolution trees now, we need to
+ fudge this to treat it as a special 'movemail' source */
+ if (!strncmp(url, "mbox:", 5))
+ return SEND_RECEIVE;
+
camel_exception_init(&ex);
provider = camel_session_get_provider (session, url, &ex);
camel_exception_clear(&ex);