[asterisk-commits] dlee: branch dlee/stasis-forward-optimization r399656 - /team/dlee/stasis-for...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Sep 24 01:17:37 CDT 2013


Author: dlee
Date: Tue Sep 24 01:17:36 2013
New Revision: 399656

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=399656
Log:
Fixed tests

Modified:
    team/dlee/stasis-forward-optimization/tests/test_stasis.c

Modified: team/dlee/stasis-forward-optimization/tests/test_stasis.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/stasis-forward-optimization/tests/test_stasis.c?view=diff&rev=399656&r1=399655&r2=399656
==============================================================================
--- team/dlee/stasis-forward-optimization/tests/test_stasis.c (original)
+++ team/dlee/stasis-forward-optimization/tests/test_stasis.c Tue Sep 24 01:17:36 2013
@@ -427,7 +427,7 @@
 	RAII_VAR(struct consumer *, parent_consumer, NULL, ao2_cleanup);
 	RAII_VAR(struct consumer *, consumer, NULL, ao2_cleanup);
 
-	RAII_VAR(struct stasis_subscription *, forward_sub, NULL, stasis_unsubscribe);
+	RAII_VAR(struct stasis_forward *, forward_sub, NULL, stasis_forward_cancel);
 	RAII_VAR(struct stasis_subscription *, parent_sub, NULL, stasis_unsubscribe);
 	RAII_VAR(struct stasis_subscription *, sub, NULL, stasis_unsubscribe);
 
@@ -499,8 +499,8 @@
 	RAII_VAR(struct stasis_message *, test_message2, NULL, ao2_cleanup);
 	RAII_VAR(struct stasis_message *, test_message3, NULL, ao2_cleanup);
 
-	RAII_VAR(struct stasis_subscription *, forward_sub1, NULL, stasis_unsubscribe);
-	RAII_VAR(struct stasis_subscription *, forward_sub2, NULL, stasis_unsubscribe);
+	RAII_VAR(struct stasis_forward *, forward_sub1, NULL, stasis_forward_cancel);
+	RAII_VAR(struct stasis_forward *, forward_sub2, NULL, stasis_forward_cancel);
 	RAII_VAR(struct stasis_subscription *, sub, NULL, stasis_unsubscribe);
 
 	RAII_VAR(struct consumer *, consumer, NULL, ao2_cleanup);




More information about the asterisk-commits mailing list