[rygel] core: Missing newlines
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: Missing newlines
- Date: Thu, 19 May 2011 16:55:10 +0000 (UTC)
commit 16ec19ff73ba1d7d9ad1872760d1e028d3b6afe6
Author: Jens Georg <mail jensge org>
Date: Thu May 19 18:52:52 2011 +0200
core: Missing newlines
src/rygel/rygel-http-time-seek.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/rygel/rygel-http-time-seek.vala b/src/rygel/rygel-http-time-seek.vala
index 0890718..8597977 100644
--- a/src/rygel/rygel-http-time-seek.vala
+++ b/src/rygel/rygel-http-time-seek.vala
@@ -54,6 +54,7 @@ internal class Rygel.HTTPTimeSeek : Rygel.HTTPSeek {
if (range_token == "") {
continue;
}
+
if (range_token.index_of (":") == -1) {
if (!parse_seconds (range_token, ref parsed_value)) {
throw new HTTPSeekError.INVALID_RANGE
@@ -76,6 +77,7 @@ internal class Rygel.HTTPTimeSeek : Rygel.HTTPSeek {
stop = parsed_value;
}
}
+
if (start > stop) {
throw new HTTPSeekError.INVALID_RANGE
(_("Invalid Range '%s'"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]