aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-account-editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-account-editor.c')
-rw-r--r--mail/mail-account-editor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-account-editor.c b/mail/mail-account-editor.c
index 279304d956..7656732f75 100644
--- a/mail/mail-account-editor.c
+++ b/mail/mail-account-editor.c
@@ -145,7 +145,7 @@ switch_page (GtkNotebook *notebook, GtkNotebookPage *page,
return;
if (gsrc && gsrc->provider && source->url &&
- !strncmp (gsrc->provider->protocol, source->url, strlen (source->url)))
+ !strncmp (gsrc->provider->protocol, source->url, strlen (gsrc->provider->protocol)))
url = source->url;
mail_account_gui_build_extra_conf (editor->gui, url);