projects
/
profile
/
ivi
/
rygel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
487f0b2
)
core: Port to vala 0.11.2
author
Zeeshan Ali (Khattak)
<zeeshanak@gnome.org>
Mon, 8 Nov 2010 20:59:26 +0000
(22:59 +0200)
committer
Zeeshan Ali (Khattak)
<zeeshanak@gnome.org>
Mon, 8 Nov 2010 20:59:26 +0000
(22:59 +0200)
Do so without breaking the build against 0.11.2.
src/rygel/rygel-http-post.vala
patch
|
blob
|
history
diff --git
a/src/rygel/rygel-http-post.vala
b/src/rygel/rygel-http-post.vala
index
8e7ff9d
..
27bca01
100644
(file)
--- a/
src/rygel/rygel-http-post.vala
+++ b/
src/rygel/rygel-http-post.vala
@@
-97,7
+97,9
@@
internal class Rygel.HTTPPost : HTTPRequest {
private async void write_chunk (Buffer chunk) {
try {
- this.stream.write (chunk.data.data, this.cancellable);
+ // FIXME: Remove redundant cast to string after we bump our vala dep
+ // to 0.11.2
+ this.stream.write (((string) chunk.data).data, this.cancellable);
} catch (Error error) {
this.handle_error (error);
this.handle_continue ();