]> Cypherpunks repositories - keks.git/commitdiff
Note that this is not a duplicate line
authorSergey Matveev <stargrave@stargrave.org>
Wed, 20 Nov 2024 11:12:02 +0000 (14:12 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 20 Nov 2024 11:12:02 +0000 (14:12 +0300)
cyac/lib/items.c

index d85b9a24f4d5c493a9c0541732085e1abe8e0bce2744d17d414cd64b68250ea8..57379c1daef56d6bd8c82611ba45b4c2949d926d885164e5450955ec7766bbda 100644 (file)
@@ -431,8 +431,8 @@ YACItemsGetByKeyLen(
             (memcmp(items->list[idx].atom.v.str.ptr, key, keyLen) == 0)) {
             return idx + 1;
         }
-        idx = items->list[idx].next;
-        idx = items->list[idx].next;
+        idx = items->list[idx].next; // the value
+        idx = items->list[idx].next; // next key
     }
     return 0;
 }