aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/client_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/client_main.c')
-rw-r--r--src/client_main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client_main.c b/src/client_main.c
index ca79800..0dbdcc6 100644
--- a/src/client_main.c
+++ b/src/client_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;
}