mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 00:30:20 +00:00
Break the world. Stasis message type accessors should now all be named correctly.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@384261 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -250,7 +250,7 @@ static struct stasis_message_type *cache_clear_data(void)
|
||||
|
||||
static struct stasis_message_type *__cache_update;
|
||||
|
||||
struct stasis_message_type *stasis_cache_update(void)
|
||||
struct stasis_message_type *stasis_cache_update_type(void)
|
||||
{
|
||||
ast_assert(__cache_update != NULL);
|
||||
return __cache_update;
|
||||
@@ -340,7 +340,7 @@ static struct stasis_message *update_create(struct stasis_topic *topic, struct s
|
||||
update->type = stasis_message_type(new_snapshot);
|
||||
}
|
||||
|
||||
msg = stasis_message_create(stasis_cache_update(), update);
|
||||
msg = stasis_message_create(stasis_cache_update_type(), update);
|
||||
if (!msg) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user