mirror of
https://github.com/apache/httpd.git
synced 2025-08-10 02:56:11 +00:00
Make unixd_config.user_name const char * instead of char * to avoid
a warning when the set-user-name command handler saves the address of the arg from the config file. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85606 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -159,7 +159,7 @@ void unixd_detach(void)
|
||||
static int set_group_privs(void)
|
||||
{
|
||||
if (!geteuid()) {
|
||||
char *name;
|
||||
const char *name;
|
||||
|
||||
/* Get username if passed as a uid */
|
||||
|
||||
|
@ -77,7 +77,7 @@
|
||||
#endif
|
||||
|
||||
typedef struct {
|
||||
char *user_name;
|
||||
const char *user_name;
|
||||
uid_t user_id;
|
||||
gid_t group_id;
|
||||
} unixd_config_rec;
|
||||
|
Reference in New Issue
Block a user