libidav/davqlexec.c

branch
ucx-3.1
changeset 816
839fefbdedc7
parent 786
f9d6e4cbcb62
--- a/libidav/davqlexec.c	Sat Apr 20 13:01:58 2024 +0200
+++ b/libidav/davqlexec.c	Thu May 23 22:35:45 2024 +0200
@@ -35,7 +35,7 @@
 #include <cx/map.h>
 #include <cx/hash_map.h>
 #include <cx/printf.h>
-#include <cx/basic_mempool.h>
+#include <cx/mempool.h>
 
 #include "davqlexec.h"
 #include "utils.h"
@@ -621,7 +621,7 @@
     result.status = 0;
     
     // do a propfind request for each resource on the stack
-    while(stack->size > 0) {
+    while(cxListSize(stack) > 0) {
         DavQLRes *sr_ptr = cxListAt(stack, 0); // get first element from the stack
         DavResource *root = sr_ptr->resource;
         int res_depth = sr_ptr->depth;

mercurial