libidav/webdav.c

changeset 53
da05df77652e
parent 49
2f71f4ee247a
--- a/libidav/webdav.c	Mon Oct 21 11:14:26 2024 +0200
+++ b/libidav/webdav.c	Mon Oct 21 13:22:45 2024 +0200
@@ -50,7 +50,7 @@
     if(!context) {
         return NULL;
     }
-    context->sessions = cxLinkedListCreate(cxDefaultAllocator, cx_cmp_intptr, CX_STORE_POINTERS);
+    context->sessions = cxLinkedListCreate(cxDefaultAllocator, cx_cmp_ptr, CX_STORE_POINTERS);
     cxDefineDestructor(context->sessions, dav_session_destructor);
     context->http_proxy = calloc(1, sizeof(DavProxy));
     if(!context->http_proxy) {

mercurial