From 5235e634860744f0b1251b0e50e89446f93381c2 Mon Sep 17 00:00:00 2001 From: Timo Dritschler Date: Fri, 21 Nov 2014 17:54:13 +0100 Subject: Fix #1: Added missing documentation to TRB, Client and Server header Fixed build warnings Fixed a bug in kiro-test-bandwidth --- test/test-client-bandwidth.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/test-client-bandwidth.c') diff --git a/test/test-client-bandwidth.c b/test/test-client-bandwidth.c index 8cf87d5..287584a 100644 --- a/test/test-client-bandwidth.c +++ b/test/test-client-bandwidth.c @@ -28,7 +28,8 @@ main ( int argc, char *argv[] ) GTimer *timer = g_timer_new (); -while (1) { +while (1) { + g_timer_reset (timer); int i = 0; while(i < 500) { kiro_client_sync (client); @@ -41,7 +42,7 @@ while (1) { } g_timer_stop (timer); kiro_client_free (client); - kiro_trb_free (client); + kiro_trb_free (trb); return 0; } -- cgit v1.2.3