From: Kinsey Moore Date: Fri, 7 Jun 2013 16:22:24 +0000 (+0000) Subject: Ensure that all unit tests compile with the cache clear rework in place X-Git-Tag: 13.0.0-beta1~1708 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63c7141421e4070ab6a17338c595f4a5e31e9ebd;p=thirdparty%2Fasterisk.git 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 --- 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;