[rygel] tests: Remove a cheat from HTTPResponse testcases
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] tests: Remove a cheat from HTTPResponse testcases
- Date: Wed, 30 Mar 2011 16:17:56 +0000 (UTC)
commit fc907704c5a3d3a898857e07e571c78686583584
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed Mar 30 17:07:12 2011 +0300
tests: Remove a cheat from HTTPResponse testcases
tests/rygel-http-response-test.vala | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/tests/rygel-http-response-test.vala b/tests/rygel-http-response-test.vala
index 0d09ba2..08cc20a 100644
--- a/tests/rygel-http-response-test.vala
+++ b/tests/rygel-http-response-test.vala
@@ -210,7 +210,6 @@ public class Rygel.HTTPClient : GLib.Object, StateMachine {
if (bytes_received >= this.total_bytes &&
this.cancellable != null) {
- bytes_received = bytes_received.clamp (0, this.total_bytes);
this.cancellable.cancel ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]