rygel r611 - trunk/src/rygel
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r611 - trunk/src/rygel
- Date: Mon, 16 Feb 2009 17:33:19 +0000 (UTC)
Author: zeeshanak
Date: Mon Feb 16 17:33:19 2009
New Revision: 611
URL: http://svn.gnome.org/viewvc/rygel?rev=611&view=rev
Log:
Correct the logic of creating ContainerUpdateIDs value.
Modified:
trunk/src/rygel/rygel-content-directory.vala
Modified: trunk/src/rygel/rygel-content-directory.vala
==============================================================================
--- trunk/src/rygel/rygel-content-directory.vala (original)
+++ trunk/src/rygel/rygel-content-directory.vala Mon Feb 16 17:33:19 2009
@@ -210,8 +210,11 @@
var update_ids = "";
foreach (var container in this.updated_containers) {
- update_ids += "," + container.id + "," +
- container.update_id.to_string ();
+ if (update_ids != "") {
+ update_ids += ",";
+ }
+
+ update_ids += container.id + "," + container.update_id.to_string ();
}
return update_ids;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]