From 57f00c036d9ee753306059cc4e079f8e168de14f Mon Sep 17 00:00:00 2001 From: ethan-thompson Date: Tue, 17 Dec 2024 14:33:02 -0500 Subject: [PATCH] fix: Return -1 on error instead of 1 (01) - typo. Signed-off-by: ethan-thompson --- src/lib/util/dict_tokenize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/util/dict_tokenize.c b/src/lib/util/dict_tokenize.c index a3d144c50c311..e9902e8f61160 100644 --- a/src/lib/util/dict_tokenize.c +++ b/src/lib/util/dict_tokenize.c @@ -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]);