aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/backend')
-rw-r--r--addressbook/backend/ebook/e-destination.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/addressbook/backend/ebook/e-destination.c b/addressbook/backend/ebook/e-destination.c
index b82e616601..9b72a1439a 100644
--- a/addressbook/backend/ebook/e-destination.c
+++ b/addressbook/backend/ebook/e-destination.c
@@ -358,7 +358,12 @@ e_destination_is_valid (const EDestination *dest)
return TRUE;
email = e_destination_get_email (dest);
- return email && *email && strchr (email, '@');
+
+ /* FIXME: if we really wanted to get fancy here, we could
+ check to make sure that the address was valid according to
+ rfc822's addr-spec grammar. */
+
+ return email && *email;
}
gboolean