make "config_file" a const in the config struct.
Michael
This commit is contained in:
parent
735c9cb70f
commit
389f5d1464
@ -48,7 +48,7 @@ struct upstream
|
|||||||
struct config_s
|
struct config_s
|
||||||
{
|
{
|
||||||
char *logf_name;
|
char *logf_name;
|
||||||
char *config_file;
|
const char *config_file;
|
||||||
unsigned int syslog; /* boolean */
|
unsigned int syslog; /* boolean */
|
||||||
int port;
|
int port;
|
||||||
char *stathost;
|
char *stathost;
|
||||||
|
Loading…
Reference in New Issue
Block a user