[asterisk-commits] kmoore: trunk r390864 - /trunk/tests/test_devicestate.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jun 7 11:22:26 CDT 2013


Author: kmoore
Date: Fri Jun  7 11:22:24 2013
New Revision: 390864

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=390864
Log:
Ensure that all unit tests compile with the cache clear rework in place

Modified:
    trunk/tests/test_devicestate.c

Modified: trunk/tests/test_devicestate.c
URL: http://svnview.digium.com/svn/asterisk/trunk/tests/test_devicestate.c?view=diff&rev=390864&r1=390863&r2=390864
==============================================================================
--- trunk/tests/test_devicestate.c (original)
+++ trunk/tests/test_devicestate.c Fri Jun  7 11:22:24 2013
@@ -384,7 +384,7 @@
 		return 0;
 	}
 
-	msg = stasis_cache_clear_create(ast_device_state_message_type(), device_state->cache_id);
+	msg = stasis_cache_clear_create(msg);
 	/* topic guaranteed to have been created by this point */
 	stasis_publish(ast_device_state_topic(device_state->device), msg);
 	return 0;




More information about the asterisk-commits mailing list