From fc907704c5a3d3a898857e07e571c78686583584 Mon Sep 17 00:00:00 2001 From: "Zeeshan Ali (Khattak)" Date: Wed, 30 Mar 2011 17:07:12 +0300 Subject: [PATCH] tests: Remove a cheat from HTTPResponse testcases --- tests/rygel-http-response-test.vala | 1 - 1 file changed, 1 deletion(-) 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 (); } -- 2.7.4