# HG changeset patch # User Mike Becker # Date 1444733737 -7200 # Node ID 8dccc3063e285abc7e0569611d6b9b496d10210e # Parent 4b3aecafd6be0240a8d9fa69909f16f26b6f917e changed name of a local variable to avoid a later name collision diff -r 4b3aecafd6be -r 8dccc3063e28 libidav/davqlexec.c --- 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);