aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend/ebook/e-destination.c
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/backend/ebook/e-destination.c')
-rw-r--r--addressbook/backend/ebook/e-destination.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/addressbook/backend/ebook/e-destination.c b/addressbook/backend/ebook/e-destination.c
index 9b72a1439a..5e4ebfa488 100644
--- a/addressbook/backend/ebook/e-destination.c
+++ b/addressbook/backend/ebook/e-destination.c
@@ -363,7 +363,7 @@ e_destination_is_valid (const EDestination *dest)
check to make sure that the address was valid according to
rfc822's addr-spec grammar. */
- return email && *email;
+ return email && *email && strchr (email, '@');
}
gboolean