summaryrefslogtreecommitdiff
path: root/res/res_calendar.c
diff options
context:
space:
mode:
authorTerry Wilson <twilson@digium.com>2012-02-13 17:27:06 +0000
committerTerry Wilson <twilson@digium.com>2012-02-13 17:27:06 +0000
commit34c55e8e7c87a92181fca3e0101dc456eef2475b (patch)
treead27fca98a7df582348e14b0aaa42f0065cdef99 /res/res_calendar.c
parenta955a4770fcdd7874e1337e7df694bcd293e020e (diff)
Opaquify char * and char[] in ast_channel
Review: https://reviewboard.asterisk.org/r/1733/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@354968 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_calendar.c')
-rw-r--r--res/res_calendar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/res_calendar.c b/res/res_calendar.c
index 14846d316..382d34e08 100644
--- a/res/res_calendar.c
+++ b/res/res_calendar.c
@@ -791,8 +791,8 @@ static void *do_notify(void *data)
answered = ast_dial_answered_steal(dial);
if (ast_strlen_zero(event->owner->notify_app)) {
- ast_copy_string(answered->context, event->owner->notify_context, sizeof(answered->context));
- ast_copy_string(answered->exten, event->owner->notify_extension, sizeof(answered->exten));
+ ast_channel_context_set(answered, event->owner->notify_context);
+ ast_channel_exten_set(answered, event->owner->notify_extension);
answered->priority = 1;
ast_pbx_run(answered);
}