From: Sergey Matveev Date: Wed, 20 Nov 2024 11:12:02 +0000 (+0300) Subject: Note that this is not a duplicate line X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=10f4c4ef7aa5039a5c5a57d2614b8e150b7602a010498ad3ace67c83d78febad;p=keks.git Note that this is not a duplicate line --- diff --git a/cyac/lib/items.c b/cyac/lib/items.c index d85b9a2..57379c1 100644 --- a/cyac/lib/items.c +++ b/cyac/lib/items.c @@ -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; }