summaryrefslogtreecommitdiff
path: root/pbx
diff options
context:
space:
mode:
authorKinsey Moore <kmoore@digium.com>2013-03-28 15:45:18 +0000
committerKinsey Moore <kmoore@digium.com>2013-03-28 15:45:18 +0000
commit71206544a770eb4004294ed13613a7cde6e0e056 (patch)
tree7664e5ebef6d139f25c264946a7270b4141a8fe3 /pbx
parent1a2a4578d2ab7e1d1f1518a3f8bcc41f3fd13702 (diff)
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
Diffstat (limited to 'pbx')
-rw-r--r--pbx/pbx_realtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx/pbx_realtime.c b/pbx/pbx_realtime.c
index d1cb5ed39..65685e030 100644
--- a/pbx/pbx_realtime.c
+++ b/pbx/pbx_realtime.c
@@ -363,7 +363,7 @@ static int realtime_exec(struct ast_channel *chan, const char *context, const ch
*/
ast_string_field_set(snapshot, appl, app);
ast_string_field_set(snapshot, data, !ast_strlen_zero(appdata) ? appdata : "(NULL)");
- msg = stasis_message_create(ast_channel_snapshot(), snapshot);
+ msg = stasis_message_create(ast_channel_snapshot_type(), snapshot);
if (msg) {
stasis_publish(ast_channel_topic(chan), msg);
}