libidav/davqlexec.c

changeset 818
bc782cca0759
parent 816
839fefbdedc7
--- a/libidav/davqlexec.c	Thu May 23 23:19:06 2024 +0200
+++ b/libidav/davqlexec.c	Thu May 23 23:23:36 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