From 4c8155fa9c85c7ece92182d0ab53f99a982a4abf Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sun, 24 Apr 2005 21:19:40 +0000 Subject: * improve dns.c testing program * fix some compiler warnings * correct flx_dns_packet_append_name() * fix host name string * fix use of flx_domain_equal() use git-svn-id: file:///home/lennart/svn/public/avahi/trunk@30 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server.c') 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); -- cgit