blob: b12d631325288ff28c84c35940214f7f89f4cd0e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
diff --git a/libbalsa/address-book-vcard.c b/libbalsa/address-book-vcard.c
index 16ef81a..679c766 100644
--- a/libbalsa/address-book-vcard.c
+++ b/libbalsa/address-book-vcard.c
@@ -331,8 +331,8 @@ libbalsa_address_book_vcard_parse_address(FILE * stream,
/*
* fetch all e-mail fields
*/
- if (g_ascii_strncasecmp(string, "EMAIL;", 6) == 0) {
- gchar *ptr = strchr(string+6, ':');
+ if (g_ascii_strncasecmp(string, "EMAIL", 5) == 0) {
+ gchar *ptr = strchr(string + 5, ':');
if (ptr) {
address_list =
g_list_prepend(address_list, g_strdup(ptr + 1));
|