From 5b86d2d298277255aaa286885942db6eb7a449cf Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Thu, 1 Sep 2016 14:36:24 -0600 Subject: [PATCH] Make sudo_parseln() flags hex to make it more obvious that they are bit flags. --- include/sudo_util.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/sudo_util.h b/include/sudo_util.h index 4e8f4cb5e..e7a941d06 100644 --- a/include/sudo_util.h +++ b/include/sudo_util.h @@ -139,8 +139,8 @@ #define sudo_isclr(_a, _i) (((_a)[(_i) / NBBY] & (1<<((_i) % NBBY))) == 0) /* sudo_parseln() flags */ -#define PARSELN_COMM_BOL 1 /* comments only at begining of line */ -#define PARSELN_CONT_IGN 2 /* ignore line continuation char */ +#define PARSELN_COMM_BOL 0x01 /* comments only at begining of line */ +#define PARSELN_CONT_IGN 0x02 /* ignore line continuation char */ /* * Macros to quiet gcc's warn_unused_result attribute. -- 2.40.0