continue;
}
- if (strcmp(attr_name, "N") == 0 ||
- strcmp(attr_name, "ADR") == 0) {
- continue;
- }
-
if (e_vcard_attribute_is_single_valued(attr)) {
char *av = e_vcard_attribute_get_value(attr);
printf("%s: %s\n",
GList *vals = e_vcard_attribute_get_values(attr);
for (j = 0; j < g_list_length(vals); j++) {
- const char *av = (char*) g_list_nth(vals, j);
+ const char *av = *(char**) g_list_nth(vals, j);
- printf("%s: %s\n",
- attr_name,
- av);
+ printf("%s: %s\n", attr_name, av);
}
}
}