rename hnode fields, functions.

This commit is contained in:
2026-02-08 16:29:29 +09:00
parent f5f88e8451
commit 97f897755f
4 changed files with 17 additions and 17 deletions

View File

@@ -316,9 +316,9 @@ mapget(Hmap *h, Str *key, Str *out)
if(key->n == 0)
return 0;
n = hmapget(h, key);
if(n == nil || n->kanalen == 0)
if(n == nil || n->vlen == 0)
return 0;
sinit(out, n->kana, n->kanalen);
sinit(out, n->val, n->vlen);
return 1;
}