315 //printf("\n"); |
315 //printf("\n"); |
316 |
316 |
317 CURLcode ret = do_propfind_request(handle, rqbuf, rpbuf); |
317 CURLcode ret = do_propfind_request(handle, rqbuf, rpbuf); |
318 if(ret == CURLE_OK) { |
318 if(ret == CURLE_OK) { |
319 //printf("response\n%s\n", rpbuf->space); |
319 //printf("response\n%s\n", rpbuf->space); |
320 |
320 // TODO: use parse_propfind_response() |
321 xmlDoc *doc = xmlReadMemory(rpbuf->space, rpbuf->size, url, NULL, 0); |
321 xmlDoc *doc = xmlReadMemory(rpbuf->space, rpbuf->size, url, NULL, 0); |
322 if(!doc) { |
322 if(!doc) { |
323 return 1; |
323 return 1; |
324 } |
324 } |
325 |
325 |