aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/worker_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/worker_main.c')
-rw-r--r--src/worker_main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/worker_main.c b/src/worker_main.c
index 18e656a..e8468f8 100644
--- a/src/worker_main.c
+++ b/src/worker_main.c
@@ -15,7 +15,10 @@
static struct settings default_settings(void)
{
- struct settings settings = {default_host, default_port};
+ struct settings settings = {
+ .host = default_host,
+ .port = default_port,
+ };
return settings;
}