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:
Jeff Trawick
2000-06-18 03:05:41 +00:00
parent 132dc4e8fb
commit 43befa39e1
2 changed files with 2 additions and 2 deletions

View File

@ -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 */

View File

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