[rygel] core: Remove redundant string conversions
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: Remove redundant string conversions
- Date: Tue, 26 Oct 2010 13:40:20 +0000 (UTC)
commit 3c0fc1bbd2e3c1bab6eb71345887050cc92929cc
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Mon Oct 25 20:08:17 2010 +0300
core: Remove redundant string conversions
src/rygel/rygel-http-server.vala | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/rygel/rygel-http-server.vala b/src/rygel/rygel-http-server.vala
index e5fcedd..84d452a 100644
--- a/src/rygel/rygel-http-server.vala
+++ b/src/rygel/rygel-http-server.vala
@@ -67,10 +67,7 @@ internal class Rygel.HTTPServer : Rygel.TranscodeManager, Rygel.StateMachine {
var uri = this.create_uri_for_item (item, -1, -1, null);
- item.add_resource (didl_item,
- uri.to_string (),
- this.get_protocol (),
- uri.to_string ());
+ item.add_resource (didl_item, uri, this.get_protocol (), uri);
}
public bool need_proxy (string uri) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]