aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 12c2162110..c054bcdee1 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -159,8 +159,7 @@ fetch_mail (GtkWidget *button, gpointer user_data)
mail_exception_dialog ("Unable to get new mail", ex, fb);
goto cleanup;
}
- camel_service_connect_with_url (CAMEL_SERVICE (store),
- url, ex);
+ camel_service_connect (CAMEL_SERVICE (store), ex);
if (camel_exception_get_id (ex) != CAMEL_EXCEPTION_NONE) {
if (camel_exception_get_id (ex) != CAMEL_EXCEPTION_USER_CANCEL)
mail_exception_dialog ("Unable to get new mail", ex, fb);