Make sudo_parseln() flags hex to make it more obvious that they are

bit flags.
This commit is contained in:
Todd C. Miller
2016-09-01 14:36:24 -06:00
parent 881814c9f9
commit 5b86d2d298

View File

@@ -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.