summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKinsey Moore <kmoore@digium.com>2013-06-07 16:22:24 +0000
committerKinsey Moore <kmoore@digium.com>2013-06-07 16:22:24 +0000
commit63c7141421e4070ab6a17338c595f4a5e31e9ebd (patch)
treeb39bccdafee74047fac0d33949fe6f4e75079ec6
parent8954661207d94e88ec18d9d9854c8a49d27b8ce9 (diff)
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
-rw-r--r--tests/test_devicestate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_devicestate.c b/tests/test_devicestate.c
index 233b6e70a..4aff9394b 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;