Skip to content

Commit

Permalink
correct missed renaming cnst --> predefined.
Browse files Browse the repository at this point in the history
  • Loading branch information
VadimZhestikov committed Sep 25, 2024
1 parent 2251eaa commit 011a4bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/njs_predefined.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ typedef struct {
} njs_predefined_hash_chunk_t;


njs_predefined_values_t njs_cnst = {
njs_predefined_values_t njs_predefined = {
.value = {

/* Tokens. */
Expand Down Expand Up @@ -614,7 +614,7 @@ njs_predefined_hash_init(njs_flathsh_t *hash)
lhq.pool = NULL; /* Not used. */

for (n = 0; n < NJS_PREDEFINED_SIZE; n++) {
value = &njs_cnst.value[n];
value = &njs_predefined.value[n];

value->string.atom_id = njs_predefined_atom_id++;

Expand Down

0 comments on commit 011a4bb

Please sign in to comment.