Tue, 13 Oct 2015 12:55:37 +0200
changed name of a local variable to avoid a later name collision
libidav/davqlexec.c | file | annotate | diff | comparison | revisions |
--- 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);