|
|
|
@ -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);
|
|
|
|
|