From 5e51a6bb1e14128c8b05129d1efdb78c9479e5dc Mon Sep 17 00:00:00 2001
From: Mark Michelson <mmichelson@digium.com>
Date: Tue, 14 Jul 2009 17:03:58 +0000
Subject: [PATCH] I AM A TERRIBLE PERSON

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@206490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 apps/app_dial.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/apps/app_dial.c b/apps/app_dial.c
index ceb5f5d2f3..6e2088cd36 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -972,7 +972,7 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in,
 				continue;
 			/* here, o->chan == c == winner */
 			if (!ast_strlen_zero(c->call_forward)) {
-				(*sentringing) = 0;
+				pa->sentringing = 0;
 				do_forward(o, &num, peerflags, single, to);
 				continue;
 			}
@@ -1098,7 +1098,7 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in,
 					} else {
 						ast_verb(3, "%s redirecting info has changed, passing it to %s\n", c->name, in->name);
 						ast_indicate_data(in, AST_CONTROL_REDIRECTING, f->data.ptr, f->datalen);
-						(*sentringing) = 0;
+						pa->sentringing = 0;
 					}
 					break;
 				case AST_CONTROL_PROCEEDING:
-- 
GitLab