diff options
author | Jens Georg <mail@jensge.org> | 2015-08-02 19:32:20 +0200 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2015-08-02 22:17:28 +0200 |
commit | f04d48a99f6dc1385c1e288eb712c69f0832fc46 (patch) | |
tree | 6d057e40d831a2227cf59c37f0a74fe25ea8b391 /src | |
parent | c6b251c27a8b85453b1059db2ffe5c37c8bc4282 (diff) | |
download | rygel-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.vala | 2 |
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; |