[farsight2/master] Oops, do the right test

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


---
 tests/check/main/generic.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/check/main/generic.c b/tests/check/main/generic.c
index 0051de4..e25772f 100644
--- a/tests/check/main/generic.c
+++ b/tests/check/main/generic.c
@@ -77,7 +77,7 @@ simple_conference_add_stream (
   if (error)
     fail ("Error while creating new participant (%d): %s",
         error->code, error->message);
-  fail_if (dat->session == NULL, "Could not make participant, but no GError!");
+  fail_if (st->participant == NULL, "Could not make participant, but no GError!");
 
   st->stream = fs_session_new_stream (dat->session, st->participant,
       FS_DIRECTION_BOTH, "rawudp", 0, NULL, &error);
-- 
1.5.6.5




More information about the farsight-commits mailing list