[farsight2/master] Initialise counters on each test

Olivier Crête olivier.crete at collabora.co.uk
Tue Dec 23 15:23:56 PST 2008


---
 tests/check/transmitter/rawudp.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/tests/check/transmitter/rawudp.c b/tests/check/transmitter/rawudp.c
index 14963a4..eef3919 100644
--- a/tests/check/transmitter/rawudp.c
+++ b/tests/check/transmitter/rawudp.c
@@ -273,6 +273,11 @@ run_rawudp_transmitter_test (gint n_parameters, GParameter *params,
   FsStreamTransmitter *st;
   GstBus *bus = NULL;
 
+  buffer_count[0] = 0;
+  buffer_count[1] = 0;
+  received_known[0] = 0;
+  received_known[1] = 0;
+
   has_stun = flags & FLAG_HAS_STUN;
 
   loop = g_main_loop_new (NULL, FALSE);
-- 
1.5.6.5




More information about the farsight-commits mailing list