From d0b75d273ffbe05581c1cea3b8fcbb6447e0bc5e Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 28 Jan 2002 18:28:12 +0000 Subject: Revert my previous change as trow says this will break auto-completion 2002-01-28 Jeffrey Stedfast * backend/ebook/e-destination.c (e_destination_is_valid): Revert my previous change as trow says this will break auto-completion stuff. svn path=/trunk/; revision=15496 --- addressbook/ChangeLog | 6 ++++++ addressbook/backend/ebook/e-destination.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'addressbook') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 992a69f6f0..dfeb7a70e9 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,9 @@ +2002-01-28 Jeffrey Stedfast + + * backend/ebook/e-destination.c (e_destination_is_valid): Revert + my previous change as trow says this will break auto-completion + stuff. + 2002-01-27 Ettore Perazzoli * gui/contact-editor/Makefile.am: Use EVOLUTION_ADDRESSBOOK_CFLAGS. 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 -- cgit v1.2.3