projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca0f72d
)
Do ignore empty recipients when checking names
author
Sergio Villar Senín
<svillar@igalia.com>
Fri, 18 Dec 2009 12:04:13 +0000
(13:04 +0100)
committer
Sergio Villar Senín
<svillar@igalia.com>
Fri, 18 Dec 2009 13:23:08 +0000
(14:23 +0100)
Fixes NB#139674
src/modest-text-utils.c
patch
|
blob
|
history
diff --git
a/src/modest-text-utils.c
b/src/modest-text-utils.c
index
df90b99
..
9e995a6
100644
(file)
--- a/
src/modest-text-utils.c
+++ b/
src/modest-text-utils.c
@@
-652,7
+652,7
@@
modest_text_utils_get_addresses_indexes (const gchar *addresses, GSList **start_
gchar *next_char = g_utf8_next_char (cur);
if (!g_utf8_strchr (start, (cur - start + 1), g_utf8_get_char ("@")) &&
- next_char && *next_char != '\n')
+ next_char && *next_char != '\n' && *next_char != '\0')
continue;
start_index = g_new0 (gint, 1);