[rygel] tests: Correct value of Seek.stop



commit 582460757b415da278c4add1f07ee064378b83fc
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Wed Mar 30 17:53:19 2011 +0300

    tests: Correct value of Seek.stop

 tests/rygel-http-seekable-response-test.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/rygel-http-seekable-response-test.vala b/tests/rygel-http-seekable-response-test.vala
index ada26be..a9d9902 100644
--- a/tests/rygel-http-seekable-response-test.vala
+++ b/tests/rygel-http-seekable-response-test.vala
@@ -89,7 +89,7 @@ public class Rygel.HTTPSeekableResponseTest : Rygel.HTTPResponseTest {
 
     internal override HTTPResponse create_response (Soup.Message msg)
                                                     throws Error {
-        var seek = new HTTPSeek (0, 1024);
+        var seek = new HTTPSeek (0, HTTPResponseTest.MAX_BYTES - 1);
         var item = new MediaItem ();
 
         var request = new HTTPGet (this.server.context.server,



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