[rygel] core: Adapt to new Base64.decode() VAPI
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [rygel] core: Adapt to new Base64.decode() VAPI
- Date: Wed, 13 Jan 2010 00:54:00 +0000 (UTC)
commit d26c3f339db679c5956a615e8a2d90e3f5802676
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed Jan 13 02:52:32 2010 +0200
core: Adapt to new Base64.decode() VAPI
src/rygel/rygel-http-item-uri.vala | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/rygel/rygel-http-item-uri.vala b/src/rygel/rygel-http-item-uri.vala
index 12683e1..1e8e798 100644
--- a/src/rygel/rygel-http-item-uri.vala
+++ b/src/rygel/rygel-http-item-uri.vala
@@ -48,11 +48,9 @@ internal class Rygel.HTTPItemURI : Object {
for (int i = 1; i < parts.length - 1; i += 2) {
switch (parts[i]) {
case "item":
- size_t len;
- var data = Base64.decode (Soup.URI.decode (parts[i + 1]),
- out len);
+ var data = Base64.decode (Soup.URI.decode (parts[i + 1]));
StringBuilder builder = new StringBuilder ();
- builder.append_len ((string) data, (ssize_t) len);
+ builder.append ((string) data);
this.item_id = builder.str;
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]