merge default tip

Mon, 21 Oct 2024 12:47:57 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Mon, 21 Oct 2024 12:47:57 +0200
changeset 831
f2ee3a5c976e
parent 830
349106ea431c (current diff)
parent 829
122ddf40e24f (diff)

merge

--- a/libidav/session.c	Mon Oct 21 12:47:34 2024 +0200
+++ b/libidav/session.c	Mon Oct 21 12:47:57 2024 +0200
@@ -119,7 +119,7 @@
     DavSession *newsn = malloc(sizeof(DavSession));
     memset(newsn, 0, sizeof(DavSession));
     newsn->mp = cxBasicMempoolCreate(DAV_SESSION_MEMPOOL_SIZE);
-    newsn->pathcache = cxHashMapCreate(sn->mp->allocator, CX_STORE_POINTERS, DAV_PATH_CACHE_SIZE);
+    newsn->pathcache = cxHashMapCreate(newsn->mp->allocator, CX_STORE_POINTERS, DAV_PATH_CACHE_SIZE);
     newsn->key = sn->key;
     newsn->errorstr = NULL;
     newsn->error = DAV_OK;

mercurial