[rygel/wip/basic-management: 132/138] core: BasicManagement Ping: Fix rtt parsing order (min/avg/max)
- From: Jussi Kukkonen <jussik src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/wip/basic-management: 132/138] core: BasicManagement Ping: Fix rtt parsing order (min/avg/max)
- Date: Tue, 10 Sep 2013 07:32:47 +0000 (UTC)
commit 1106247428075e2777e47c6bd23841a6cab2e79e
Author: Jussi Kukkonen <jussi kukkonen intel com>
Date: Mon Jun 24 10:37:13 2013 +0300
core: BasicManagement Ping: Fix rtt parsing order (min/avg/max)
.../rygel-basic-management-test-ping.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/librygel-core/rygel-basic-management-test-ping.vala
b/src/librygel-core/rygel-basic-management-test-ping.vala
index 72ed796..8bb7a57 100644
--- a/src/librygel-core/rygel-basic-management-test-ping.vala
+++ b/src/librygel-core/rygel-basic-management-test-ping.vala
@@ -229,9 +229,9 @@ internal class Rygel.BasicManagementTestPing : BasicManagementTest {
if (rtt.length >= 2) {
var rtt_values = rtt[1].split ("/", 4);
if (rtt_values.length >= 3) {
- this.avg_response_time = (uint) Math.round (
- double.parse (rtt_values[0]));
this.min_response_time = (uint) Math.round (
+ double.parse (rtt_values[0]));
+ this.avg_response_time = (uint) Math.round (
double.parse (rtt_values[1]));
this.max_response_time = (uint) Math.round (
double.parse (rtt_values[2]));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]