summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2015-08-02 19:32:20 +0200
committerJens Georg <mail@jensge.org>2015-08-02 22:17:28 +0200
commitf04d48a99f6dc1385c1e288eb712c69f0832fc46 (patch)
tree6d057e40d831a2227cf59c37f0a74fe25ea8b391 /src
parentc6b251c27a8b85453b1059db2ffe5c37c8bc4282 (diff)
downloadrygel-f04d48a99f6dc1385c1e288eb712c69f0832fc46.tar.gz
server: Fix MediaResource copy constructor
Copy import_uri instead of accidentally setting it to the uri of the other resource. Signed-off-by: Jens Georg <mail@jensge.org>
Diffstat (limited to 'src')
-rw-r--r--src/librygel-server/rygel-media-resource.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librygel-server/rygel-media-resource.vala b/src/librygel-server/rygel-media-resource.vala
index afe11948..961cec2a 100644
--- a/src/librygel-server/rygel-media-resource.vala
+++ b/src/librygel-server/rygel-media-resource.vala
@@ -69,7 +69,7 @@ public class Rygel.MediaResource : GLib.Object {
this.name = name;
// res block
this.uri = that.uri;
- this.import_uri = that.uri;
+ this.import_uri = that.import_uri;
this.extension = that.extension;
this.size = that.size;
this.cleartext_size = that.cleartext_size;