diff options
author | Vadim Zhestikov <v.zhestikov@f5.com> | 2025-07-11 15:51:14 -0700 |
---|---|---|
committer | VadimZhestikov <108960056+VadimZhestikov@users.noreply.github.com> | 2025-07-18 06:41:30 -0700 |
commit | b605a4d93f7e282835b6f8df58eb7f22456ddec5 (patch) | |
tree | 4d435d2c75f391fafd148b137854e19d81e96496 /src/njs_number.c | |
parent | b46cbce9c721ca288f2c403a1263e92cad687e10 (diff) | |
download | njs-master.tar.gz njs-master.zip |
Level hash has not been compiled since e64a376 (0.8.1) when flat hash was
introduced. However, the compatibility layer remained to reduce the diff.
Diffstat (limited to 'src/njs_number.c')
-rw-r--r-- | src/njs_number.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/njs_number.c b/src/njs_number.c index 29df50a5..15f08651 100644 --- a/src/njs_number.c +++ b/src/njs_number.c @@ -35,7 +35,7 @@ njs_key_to_index(const njs_value_t *value) array = njs_array(value); - if (njs_lvlhsh_is_empty(&array->object.hash)) { + if (njs_flathsh_is_empty(&array->object.hash)) { if (array->length == 0) { /* An empty array value is zero. */ |