libidav/davqlexec.c

changeset 818
bc782cca0759
parent 816
839fefbdedc7
equal deleted inserted replaced
817:22257f6d06a3 818:bc782cca0759
33 33
34 #include <cx/utils.h> 34 #include <cx/utils.h>
35 #include <cx/map.h> 35 #include <cx/map.h>
36 #include <cx/hash_map.h> 36 #include <cx/hash_map.h>
37 #include <cx/printf.h> 37 #include <cx/printf.h>
38 #include <cx/basic_mempool.h> 38 #include <cx/mempool.h>
39 39
40 #include "davqlexec.h" 40 #include "davqlexec.h"
41 #include "utils.h" 41 #include "utils.h"
42 #include "methods.h" 42 #include "methods.h"
43 #include "session.h" 43 #include "session.h"
619 619
620 result.result = selroot; 620 result.result = selroot;
621 result.status = 0; 621 result.status = 0;
622 622
623 // do a propfind request for each resource on the stack 623 // do a propfind request for each resource on the stack
624 while(stack->size > 0) { 624 while(cxListSize(stack) > 0) {
625 DavQLRes *sr_ptr = cxListAt(stack, 0); // get first element from the stack 625 DavQLRes *sr_ptr = cxListAt(stack, 0); // get first element from the stack
626 DavResource *root = sr_ptr->resource; 626 DavResource *root = sr_ptr->resource;
627 int res_depth = sr_ptr->depth; 627 int res_depth = sr_ptr->depth;
628 cxListRemove(stack, 0); // remove first element 628 cxListRemove(stack, 0); // remove first element
629 629

mercurial