]> code.delx.au - pulseaudio/blobdiff - src/protocol-simple.c
esound protocol
[pulseaudio] / src / protocol-simple.c
index c8c458548a3286a266a8bf0179ce0fdb31caab1b..80249eef0d9cde548704edf0663f5b575667af47 100644 (file)
@@ -73,8 +73,7 @@ static int do_read(struct connection *c) {
         return -1;
     }
 
-    chunk.memblock->length = r;
-    chunk.length = r;
+    chunk.memblock->length = chunk.length = r;
     chunk.index = 0;
 
     assert(c->input_memblockq);