From 63c7141421e4070ab6a17338c595f4a5e31e9ebd Mon Sep 17 00:00:00 2001 From: Kinsey Moore Date: Fri, 7 Jun 2013 16:22:24 +0000 Subject: [PATCH] Ensure that all unit tests compile with the cache clear rework in place git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@390864 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- tests/test_devicestate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_devicestate.c b/tests/test_devicestate.c index 233b6e70a8..4aff9394bc 100644 --- a/tests/test_devicestate.c +++ b/tests/test_devicestate.c @@ -384,7 +384,7 @@ static int remove_device_states_cb(void *obj, void *arg, int flags) 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; -- 2.47.2