summaryrefslogtreecommitdiff
path: root/src/librygel-core/rygel-v1-hacks.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/librygel-core/rygel-v1-hacks.vala')
-rw-r--r--src/librygel-core/rygel-v1-hacks.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librygel-core/rygel-v1-hacks.vala b/src/librygel-core/rygel-v1-hacks.vala
index 32bcaae2..09a220a3 100644
--- a/src/librygel-core/rygel-v1-hacks.vala
+++ b/src/librygel-core/rygel-v1-hacks.vala
@@ -139,7 +139,7 @@ public class Rygel.V1Hacks : Object {
this.description_path = template_path.replace (".xml", "-v1.xml");
description_file.save (this.description_path);
- var server_path = "/" + device.get_relative_location ();
+ var server_path = "/" + device.get_description_document_name ();
if (this.agent_regex.get_pattern () != "") {
device.context.host_path_for_agent (this.description_path,
server_path,