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 --- main/file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main/file.c') diff --git a/main/file.c b/main/file.c index ee2139c05..3befcaedf 100644 --- a/main/file.c +++ b/main/file.c @@ -1410,7 +1410,7 @@ int ast_waitstream_exten(struct ast_channel *c, const char *context) /* in the current or specified context being pressed */ if (!context) - context = c->context; + context = ast_channel_context(c); return waitstream_core(c, NULL, NULL, NULL, 0, -1, -1, context); } -- cgit v1.2.3