libidav/pwdstore.c

changeset 888
af685cc9d623
parent 854
1c8401ece69e
--- a/libidav/pwdstore.c	Sun Aug 31 14:39:13 2025 +0200
+++ b/libidav/pwdstore.c	Sat Nov 08 23:06:11 2025 +0100
@@ -34,7 +34,8 @@
 #include <stdlib.h>
 #include <string.h>
 
-#include <cx/utils.h>
+#include <cx/streams.h> 
+
 #include <cx/hash_map.h>
 
 #ifdef _WIN32
@@ -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