From 34c55e8e7c87a92181fca3e0101dc456eef2475b Mon Sep 17 00:00:00 2001 From: Terry Wilson Date: Mon, 13 Feb 2012 17:27:06 +0000 Subject: 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 --- res/res_calendar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'res/res_calendar.c') 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); } -- cgit v1.2.3