summaryrefslogtreecommitdiffstats
path: root/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'server.c')
-rw-r--r--server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.c b/server.c
index cd97262..0b1a123 100644
--- a/server.c
+++ b/server.c
@@ -302,7 +302,7 @@ flxServer *flx_server_new(GMainContext *c) {
hn = flx_get_host_name();
hn[strcspn(hn, ".")] = 0;
- s->hostname = g_strdup_printf("%slocal.", hn);
+ s->hostname = g_strdup_printf("%s.local.", hn);
g_free(hn);
add_default_entries(s);