rygel r434 - trunk/src/rygel
- From: zeeshanak svn gnome org
- To: svn-commits-list gnome org
- Subject: rygel r434 - trunk/src/rygel
- Date: Tue, 13 Jan 2009 14:33:14 +0000 (UTC)
Author: zeeshanak
Date: Tue Jan 13 14:33:14 2009
New Revision: 434
URL: http://svn.gnome.org/viewvc/rygel?rev=434&view=rev
Log:
offset in a file should be less than length of the file.
Modified:
trunk/src/rygel/rygel-streamer.vala
Modified: trunk/src/rygel/rygel-streamer.vala
==============================================================================
--- trunk/src/rygel/rygel-streamer.vala (original)
+++ trunk/src/rygel/rygel-streamer.vala Tue Jan 13 14:33:14 2009
@@ -268,7 +268,7 @@
offset = (size_t) seek.start;
length = (size_t) seek.stop + 1;
- assert (offset <= file_length);
+ assert (offset < file_length);
assert (length <= file_length);
} else {
offset = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]