]> granicus.if.org Git - sudo/commitdiff
Make sudo_parseln() flags hex to make it more obvious that they are
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 1 Sep 2016 20:36:24 +0000 (14:36 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 1 Sep 2016 20:36:24 +0000 (14:36 -0600)
bit flags.

include/sudo_util.h

index 4e8f4cb5e9bab5a8bea217be4523bc218fafe5e7..e7a941d065cfeec30e290678abae8c95923ef00d 100644 (file)
 #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.