aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2009-07-15 00:35:30 +0800
committerSrinivasa Ragavan <sragavan@novell.com>2009-07-15 00:35:59 +0800
commitc6f885efd9b5c58efd030a6052c235deb21880fa (patch)
treebda619645a5081b3cc06df19ba6b05a43a5354c3 /mail
parent110c6af2eb2d4273a1296af10f7bb8c5c7c57b54 (diff)
downloadgsoc2013-evolution-c6f885efd9b5c58efd030a6052c235deb21880fa.tar
gsoc2013-evolution-c6f885efd9b5c58efd030a6052c235deb21880fa.tar.gz
gsoc2013-evolution-c6f885efd9b5c58efd030a6052c235deb21880fa.tar.bz2
gsoc2013-evolution-c6f885efd9b5c58efd030a6052c235deb21880fa.tar.lz
gsoc2013-evolution-c6f885efd9b5c58efd030a6052c235deb21880fa.tar.xz
gsoc2013-evolution-c6f885efd9b5c58efd030a6052c235deb21880fa.tar.zst
gsoc2013-evolution-c6f885efd9b5c58efd030a6052c235deb21880fa.zip
Use reverse str lookup for email separation.
Diffstat (limited to 'mail')
-rw-r--r--mail/em-account-editor.c2
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;