[rygel/wip/sync: 36/39] server: Fix csv splitting



commit b26cda6acd9fc503ed70339774ba8ee2f67079a1
Author: Jens Georg <jensg openismus com>
Date:   Tue Oct 23 23:00:23 2012 +0200

    server: Fix csv splitting

 src/librygel-server/rygel-item-updater.vala |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/librygel-server/rygel-item-updater.vala b/src/librygel-server/rygel-item-updater.vala
index 490fd4f..c7b460f 100644
--- a/src/librygel-server/rygel-item-updater.vala
+++ b/src/librygel-server/rygel-item-updater.vala
@@ -109,6 +109,11 @@ internal class Rygel.ItemUpdater: GLib.Object, Rygel.StateMachine {
             ++token_length;
         }
 
+        // Single tag value only
+        if (len > 0 && list.is_empty) {
+            list.add (tag_values);
+        }
+
         return list;
     }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]