]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Ensure that all unit tests compile with the cache clear rework in place
authorKinsey Moore <kmoore@digium.com>
Fri, 7 Jun 2013 16:22:24 +0000 (16:22 +0000)
committerKinsey Moore <kmoore@digium.com>
Fri, 7 Jun 2013 16:22:24 +0000 (16:22 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@390864 65c4cc65-6c06-0410-ace0-fbb531ad65f3

tests/test_devicestate.c

index 233b6e70a86fdbc8bd321c38defa8833698a2735..4aff9394bc2d4b479337fdb2721d1ddcac793f54 100644 (file)
@@ -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;