config/Param: use CamelCase
This commit is contained in:
@@ -60,7 +60,7 @@ int listen_port;
|
||||
|
||||
static bool
|
||||
listen_add_config_param(unsigned int port,
|
||||
const struct config_param *param,
|
||||
const ConfigParam *param,
|
||||
Error &error_r)
|
||||
{
|
||||
assert(param != nullptr);
|
||||
@@ -104,8 +104,7 @@ bool
|
||||
listen_global_init(EventLoop &loop, Partition &partition, Error &error)
|
||||
{
|
||||
int port = config_get_positive(ConfigOption::PORT, DEFAULT_PORT);
|
||||
const struct config_param *param =
|
||||
config_get_param(ConfigOption::BIND_TO_ADDRESS);
|
||||
const auto *param = config_get_param(ConfigOption::BIND_TO_ADDRESS);
|
||||
|
||||
listen_socket = new ClientListener(loop, partition);
|
||||
|
||||
|
Reference in New Issue
Block a user