Make struct {command,user}_details pointers const where possible.
This commit is contained in:
@@ -35,7 +35,7 @@ enum intercept_state {
|
||||
/* Closure for intercept_cb() */
|
||||
struct intercept_closure {
|
||||
union sudo_token_un token;
|
||||
struct command_details *details;
|
||||
const struct command_details *details;
|
||||
struct sudo_event ev;
|
||||
const char *errstr;
|
||||
char *command; /* dynamically allocated */
|
||||
|
Reference in New Issue
Block a user