fix DavContext sesssion list comparefunc

Sun, 06 Oct 2024 22:03:45 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 06 Oct 2024 22:03:45 +0200
changeset 829
122ddf40e24f
parent 828
e082e5d7d75b
child 831
f2ee3a5c976e

fix DavContext sesssion list comparefunc

libidav/webdav.c file | annotate | diff | comparison | revisions
--- a/libidav/webdav.c	Sun Oct 06 22:03:04 2024 +0200
+++ b/libidav/webdav.c	Sun Oct 06 22:03: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