[farsight2/master] Reset global variables on every test
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:26:44 PST 2008
---
tests/check/transmitter/nice.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/tests/check/transmitter/nice.c b/tests/check/transmitter/nice.c
index 9dabc95..c7f1df8 100644
--- a/tests/check/transmitter/nice.c
+++ b/tests/check/transmitter/nice.c
@@ -336,6 +336,10 @@ run_nice_transmitter_test (gint n_parameters, GParameter *params,
GstElement *pipeline2 = NULL;
FsNiceTestParticipant *p1 = NULL, *p2 = NULL;
+ memset (buffer_count, 0, sizeof(gint)*4);
+ memset (received_known, 0, sizeof(guint)*4);
+ running = TRUE;
+
associate_on_source = !(flags & FLAG_NO_SOURCE);
is_address_local = (flags & FLAG_IS_LOCAL);
force_candidates = (flags & FLAG_FORCE_CANDIDATES);
--
1.5.6.5
More information about the farsight-commits
mailing list