Skip to content

Commit

Permalink
fix: canonizer
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-roland committed Aug 22, 2024
1 parent 1bcd4a2 commit d16f14b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/z_keyexpr_canonizer.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ int main(int argc, char **argv) {
buffer = realloc(buffer, len + 1);
strncpy(buffer, argv[i], len);
buffer[len] = '\0';
zp_keyexpr_canon_status_t status = z_keyexpr_canonized(buffer, len));
zp_keyexpr_canon_status_t status = z_keyexpr_canonize(buffer, &len);

switch (status) {
case Z_KEYEXPR_CANON_SUCCESS:
Expand Down

0 comments on commit d16f14b

Please sign in to comment.