[rygel/config] Don't put empty string to 'folders' config
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Subject: [rygel/config] Don't put empty string to 'folders' config
- Date: Thu, 28 May 2009 10:24:01 -0400 (EDT)
commit c023ae5b6b8de738af6da3d918b0761f106c7b61
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Thu May 28 17:21:03 2009 +0300
Don't put empty string to 'folders' config
---
src/rygel/rygel-configuration.vala | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/rygel/rygel-configuration.vala b/src/rygel/rygel-configuration.vala
index 59ca818..fa1b647 100644
--- a/src/rygel/rygel-configuration.vala
+++ b/src/rygel/rygel-configuration.vala
@@ -249,7 +249,9 @@ public class Rygel.Configuration : GLib.Object {
SList<string> slist = null;
foreach (var str in str_list) {
- slist.append (str);
+ if (str != "") {
+ slist.append (str);
+ }
}
try {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]