aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdns.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdns.c b/mdns.c
index 3891a73..44f1e71 100644
--- a/mdns.c
+++ b/mdns.c
@@ -335,10 +335,10 @@ static void resolve_callback(AvahiServiceResolver *r,
path = (unsigned char*)"";
if (defport != port)
snprintf(url, sizeof(url), "%s://%s:%d%s",
- proto, host_name, port, path);
+ proto, a /* host_name */, port, path);
else
snprintf(url, sizeof(url), "%s://%s%s",
- proto, host_name, path);
+ proto, a /* host_name */, path);
gtk_list_store_set(mdns->store, &iter,
ST_COL_URL, url,
-1);