From b687522ebb4191ee0e3eb5bcce4ea51fd97af861 Mon Sep 17 00:00:00 2001 From: "Zeeshan Ali (Khattak)" Date: Mon, 16 Feb 2009 17:33:19 +0000 Subject: [PATCH] Correct the logic of creating ContainerUpdateIDs value. svn path=/trunk/; revision=611 --- src/rygel/rygel-content-directory.vala | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/rygel/rygel-content-directory.vala b/src/rygel/rygel-content-directory.vala index 7dad825..a2b447f 100644 --- a/src/rygel/rygel-content-directory.vala +++ b/src/rygel/rygel-content-directory.vala @@ -210,8 +210,11 @@ public class Rygel.ContentDirectory: Service { 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; -- 2.7.4