diff options
author | Srinivasa Ragavan <sragavan@novell.com> | 2009-07-15 00:35:30 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@novell.com> | 2009-07-15 00:35:59 +0800 |
commit | c6f885efd9b5c58efd030a6052c235deb21880fa (patch) | |
tree | bda619645a5081b3cc06df19ba6b05a43a5354c3 /mail/em-account-editor.c | |
parent | 110c6af2eb2d4273a1296af10f7bb8c5c7c57b54 (diff) | |
download | gsoc2013-evolution-c6f885efd9b5c58efd030a6052c235deb21880fa.tar.gz gsoc2013-evolution-c6f885efd9b5c58efd030a6052c235deb21880fa.tar.zst gsoc2013-evolution-c6f885efd9b5c58efd030a6052c235deb21880fa.zip |
Use reverse str lookup for email separation.
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 c08024e36d..86640aba52 100644 --- a/mail/em-account-editor.c +++ b/mail/em-account-editor.c @@ -2825,7 +2825,7 @@ emae_check_complete (EConfig *ec, const gchar *pageid, gpointer data) gchar *uri = (gchar *)e_account_get_string (emae->account, E_ACCOUNT_TRANSPORT_URL); emae->priv->send_set = 1; tmp = 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; |