libidav/davqlexec.c

changeset 354
067ea2315a8a
parent 351
11789a88d0b0
child 361
b6f2462ee055
equal deleted inserted replaced
353:e554f3d72d9e 354:067ea2315a8a
486 DavQLRes *sr = stack->data; // get first element from the stack 486 DavQLRes *sr = stack->data; // get first element from the stack
487 stack = ucx_list_remove(stack, stack); // remove first element 487 stack = ucx_list_remove(stack, stack); // remove first element
488 DavResource *root = sr->resource; 488 DavResource *root = sr->resource;
489 489
490 util_set_url(sn, dav_resource_get_href(sr->resource)); 490 util_set_url(sn, dav_resource_get_href(sr->resource));
491 CURLcode ret = do_propfind_request(sn->handle, rqbuf, rpbuf); 491 CURLcode ret = do_propfind_request(sn, rqbuf, rpbuf);
492 long http_status = 0; 492 long http_status = 0;
493 curl_easy_getinfo(sn->handle, CURLINFO_RESPONSE_CODE, &http_status); 493 curl_easy_getinfo(sn->handle, CURLINFO_RESPONSE_CODE, &http_status);
494 //printf("rpbuf: %s %s\n%.*s\n\n", sr->resource->path, sr->resource->href, rpbuf->pos, rpbuf->space); 494 //printf("rpbuf: %s %s\n%.*s\n\n", sr->resource->path, sr->resource->href, rpbuf->pos, rpbuf->space);
495 495
496 if(ret == CURLE_OK && http_status == 207) { 496 if(ret == CURLE_OK && http_status == 207) {

mercurial