libidav/pwdstore.c

branch
dav-2
changeset 889
42cdbf9bbd49
parent 886
da79af4baec8
--- a/libidav/pwdstore.c	Tue Oct 14 21:02:26 2025 +0200
+++ b/libidav/pwdstore.c	Sat Nov 08 23:06:11 2025 +0100
@@ -34,8 +34,9 @@
 #include <stdlib.h>
 #include <string.h>
 
+#include <cx/streams.h> 
+
 #include <cx/hash_map.h>
-#include <cx/streams.h>
 
 #ifdef _WIN32
 #include <winsock.h>
@@ -263,7 +264,7 @@
 }
 
 static void remove_list_entries(PwdStore *s, const char *id) {
-    CxIterator i = cxListMutIterator(s->locations);
+    CxIterator i = cxListIterator(s->locations);
     cx_foreach(PwdIndexEntry*, ie, i) {
         if(!strcmp(ie->id, id)) {
             cxIteratorFlagRemoval(i);
@@ -271,7 +272,7 @@
             break;
         }
     }
-    i = cxListMutIterator(s->noloc);
+    i = cxListIterator(s->noloc);
     cx_foreach(PwdIndexEntry*, ie, i) {
         if(!strcmp(ie->id, id)) {
             cxIteratorFlagRemoval(i);

mercurial