# HG changeset patch # User Olaf Wintermann # Date 1729507654 -7200 # Node ID 349106ea431c6887472941247bca914348236112 # Parent d9928f11970f7ce586994fb7f7c2e6b32642a0e8 fix wrong context session list compare func diff -r d9928f11970f -r 349106ea431c libidav/webdav.c --- a/libidav/webdav.c Fri Sep 13 18:21:04 2024 +0200 +++ b/libidav/webdav.c Mon Oct 21 12:47:34 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) {