Skip to content

Commit

Permalink
fix: Return -1 on error instead of 1 (01) - typo.
Browse files Browse the repository at this point in the history
Signed-off-by: ethan-thompson <[email protected]>
  • Loading branch information
ethan-thompson authored and alandekok committed Dec 18, 2024
1 parent 7cb91d3 commit 57f00c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/util/dict_tokenize.c
Original file line number Diff line number Diff line change
Expand Up @@ -1485,7 +1485,7 @@ static int dict_read_process_begin_vendor(dict_tokenize_ctx_t *dctx, char **argv
if (argc < 1) {
fr_strerror_const_push("Invalid BEGIN-VENDOR entry");
error:
return 01;
return -1;
}

vendor = fr_dict_vendor_by_name(dctx->dict, argv[0]);
Expand Down

0 comments on commit 57f00c0

Please sign in to comment.