projects
/
platform
/
upstream
/
evolution-data-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83a77e9
)
Bug #350323 - Filter by "Mailing list contains" requires "@" symbol
author
Milan Crha
<mcrha@redhat.com>
Tue, 12 Mar 2013 17:09:52 +0000
(18:09 +0100)
committer
Milan Crha
<mcrha@redhat.com>
Tue, 12 Mar 2013 17:09:52 +0000
(18:09 +0100)
camel/camel-search-private.c
patch
|
blob
|
history
diff --git
a/camel/camel-search-private.c
b/camel/camel-search-private.c
index
e299be1
..
58c1950
100644
(file)
--- 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;