[evolution-data-server] Bug #350323 - Filter by "Mailing list contains" requires "@" symbol



commit 6c66bb83ca0eb3d786441146028f86f9d41ccb0b
Author: Milan Crha <mcrha redhat com>
Date:   Tue Mar 12 18:09:52 2013 +0100

    Bug #350323 - Filter by "Mailing list contains" requires "@" symbol

 camel/camel-search-private.c |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/camel/camel-search-private.c b/camel/camel-search-private.c
index e299be1..58c1950 100644
--- a/camel/camel-search-private.c
+++ b/camel/camel-search-private.c
@@ -465,12 +465,7 @@ camel_search_header_match (const gchar *value,
                 * which should be common. */
                vdom = strchr (value, '@');
                mdom = strchr (match, '@');
-               if (mdom == NULL && vdom != NULL) {
-                       v = g_alloca (vdom - value + 1);
-                       memcpy (v, value, vdom - value);
-                       v[vdom - value] = 0;
-                       value = (gchar *) v;
-               } else if (mdom != NULL && vdom == NULL) {
+               if (mdom != NULL && vdom == NULL) {
                        v = g_alloca (mdom - match + 1);
                        memcpy (v, match, mdom - match);
                        v[mdom - match] = 0;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]