summaryrefslogtreecommitdiff
path: root/src/Listen.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2016-10-28 11:38:37 +0200
committerMax Kellermann <max@musicpd.org>2016-10-28 11:38:37 +0200
commit5b2b4bf13c73dc88a1b1c43651fb3e2c707227fd (patch)
tree143be3e3f9c16254076ed8c8bc61760d5c5768d1 /src/Listen.cxx
parent4bd67bc298fa5214eb2572d8a7c04ba0c24ac60b (diff)
config/Param: use CamelCase
Diffstat (limited to 'src/Listen.cxx')
-rw-r--r--src/Listen.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Listen.cxx b/src/Listen.cxx
index 4bd865519..0f620325b 100644
--- a/src/Listen.cxx
+++ b/src/Listen.cxx
@@ -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);