mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
Make user_cwd const since it is either a string literal or passed
in from the front-end.
This commit is contained in:
@@ -742,7 +742,8 @@ new_logline(const char *message, int serrno)
|
||||
size_t len = 0;
|
||||
char *errstr = NULL;
|
||||
char *evstr = NULL;
|
||||
char *line, sessid[7], *tsid = NULL;
|
||||
char *line, sessid[7];
|
||||
const char *tsid = NULL;
|
||||
debug_decl(new_logline, SUDO_DEBUG_LOGGING)
|
||||
|
||||
/* A TSID may be a sudoers-style session ID or a free-form string. */
|
||||
|
Reference in New Issue
Block a user