Cleanup server.h
- All (but the printing/debug functions) are now in snake_case. - Functions made const correct. - All function prototypes now have named arguments. Documentation still to be moved, and file possibly split into include/mascale/server.h and server/core/maxscale/server.h
This commit is contained in:
@ -286,13 +286,13 @@ bool runtime_alter_server(SERVER *server, char *key, char *value)
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!serverRemoveParameter(server, key) && !value[0])
|
||||
if (!server_remove_parameter(server, key) && !value[0])
|
||||
{
|
||||
valid = false;
|
||||
}
|
||||
else if (value[0])
|
||||
{
|
||||
serverAddParameter(server, key, value);
|
||||
server_add_parameter(server, key, value);
|
||||
|
||||
/**
|
||||
* It's likely that this parameter is used as a weighting parameter.
|
||||
|
Reference in New Issue
Block a user