623 if(ret == CURLE_OK && http_status == 207) { |
623 if(ret == CURLE_OK && http_status == 207) { |
624 // in case of an redirect we have to adjust resource->href |
624 // in case of an redirect we have to adjust resource->href |
625 dav_set_effective_href(sn, root); |
625 dav_set_effective_href(sn, root); |
626 |
626 |
627 // propfind request successful, now parse the response |
627 // propfind request successful, now parse the response |
628 char *url = "http://url/"; |
628 char *url = "http://url/"; |
629 PropfindParser *parser = create_propfind_parser(rpbuf, url); |
629 PropfindParser *parser = create_propfind_parser(rpbuf, url); |
630 if(!parser) { |
630 if(!parser) { |
631 result.status = -1; |
631 result.status = -1; |
632 break; |
632 break; |
633 } |
633 } |