From: Luis de Bethencourt Date: Wed, 11 May 2011 13:03:55 +0000 (+0200) Subject: core: Catch specific range error X-Git-Tag: RYGEL_0_11_0~53 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9327980ed17803b31ad323410828f27a6eb0ed22;p=profile%2Fivi%2Frygel.git core: Catch specific range error --- diff --git a/src/rygel/rygel-http-get.vala b/src/rygel/rygel-http-get.vala index 1f2c432..4a76cfd 100644 --- a/src/rygel/rygel-http-get.vala +++ b/src/rygel/rygel-http-get.vala @@ -144,7 +144,7 @@ internal class Rygel.HTTPGet : HTTPRequest { } else if (need_byte_seek) { this.seek = new HTTPByteSeek (this); } - } catch (Error error) { + } catch (HTTPSeekError.OUT_OF_RANGE error) { this.server.unpause_message (this.msg); this.end (Soup.KnownStatusCode.REQUESTED_RANGE_NOT_SATISFIABLE);