aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@novell.com>2009-07-15 00:32:05 +0800
committerSrinivasa Ragavan <sragavan@novell.com>2009-07-15 00:35:58 +0800
commit110c6af2eb2d4273a1296af10f7bb8c5c7c57b54 (patch)
treea62cd2c3ab0f3cc030f950162cf8eebf44416d69
parente5fe0c9a3b74bf4910d768d65bb59a53c3792001 (diff)
downloadgsoc2013-evolution-110c6af2eb2d4273a1296af10f7bb8c5c7c57b54.tar
gsoc2013-evolution-110c6af2eb2d4273a1296af10f7bb8c5c7c57b54.tar.gz
gsoc2013-evolution-110c6af2eb2d4273a1296af10f7bb8c5c7c57b54.tar.bz2
gsoc2013-evolution-110c6af2eb2d4273a1296af10f7bb8c5c7c57b54.tar.lz
gsoc2013-evolution-110c6af2eb2d4273a1296af10f7bb8c5c7c57b54.tar.xz
gsoc2013-evolution-110c6af2eb2d4273a1296af10f7bb8c5c7c57b54.tar.zst
gsoc2013-evolution-110c6af2eb2d4273a1296af10f7bb8c5c7c57b54.zip
Use reverse string lookup for domain/username sepration in email
breakdown. Gmail domain users have email as username.
-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 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;