diff options
Diffstat (limited to 'mail/em-account-editor.c')
-rw-r--r-- | mail/em-account-editor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c index f2d93a7363..c08024e36d 100644 --- a/mail/em-account-editor.c +++ b/mail/em-account-editor.c @@ -2783,7 +2783,7 @@ emae_check_complete (EConfig *ec, const gchar *pageid, gpointer data) emae->priv->receive_set = 1; tmp = (gchar *)e_account_get_string (emae->account, E_ACCOUNT_ID_ADDRESS); - at = strchr (tmp, '@'); + at = strrchr (tmp, '@'); user = g_alloca (at-tmp+1); memcpy (user, tmp, at-tmp); user[at-tmp] = 0; |