libidav/davqlexec.c

changeset 157
8dccc3063e28
parent 150
37fb12574acd
child 185
cd42cccee550
--- a/libidav/davqlexec.c	Mon Oct 12 17:47:04 2015 +0200
+++ b/libidav/davqlexec.c	Tue Oct 13 12:55:37 2015 +0200
@@ -449,10 +449,10 @@
     
     UcxList *stack = NULL; // stack with DavResource* elements
     // initialize the stack with the requested resource
-    DavQLRes *r = ucx_mempool_malloc(mp, sizeof(DavQLRes));
-    r->resource = selroot;
-    r->depth = 0;
-    stack = ucx_list_prepend(stack, r);
+    DavQLRes *res = ucx_mempool_malloc(mp, sizeof(DavQLRes));
+    res->resource = selroot;
+    res->depth = 0;
+    stack = ucx_list_prepend(stack, res);
     
     // reuseable response buffer
     UcxBuffer *rpbuf = ucx_buffer_new(NULL, 4096, UCX_BUFFER_AUTOEXTEND);

mercurial