This resolves Bug 1126
Thanks to 'Skyliner' for the patch!
pull/1/head
Timothy Pearson 12 years ago
parent fd9474fd52
commit 9b14827300

@ -143,6 +143,9 @@ static gchar* carddav_dirlist(carddav_settings* settings, carddav_error* error)
if (!href) {
href = get_tag("D:href", tmp_report);
}
if (!href) {
href = get_tag("d:href", tmp_report);
}
pos = strstr(tmp_report, href);
all_href = g_strdup_printf("");
while ((href != NULL) && (pos != NULL)) {
@ -151,6 +154,9 @@ static gchar* carddav_dirlist(carddav_settings* settings, carddav_error* error)
if (!href) {
href = get_tag("D:href", pos);
}
if (!href) {
href = get_tag("d:href", pos);
}
if (!href)
break;
pos = strstr(pos, href);

Loading…
Cancel
Save