From: Martin Pycko Date: Tue, 22 Jul 2003 23:08:45 +0000 (+0000) Subject: Fix the compile problem X-Git-Tag: 0.5.0~294 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=da17bb3e977469674baf645676451107fb8ede1b;p=thirdparty%2Fasterisk.git Fix the compile problem git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1202 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_dial.c b/apps/app_dial.c index 953e799a6e..939e949d15 100755 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -228,7 +228,7 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct localu case AST_CONTROL_BUSY: if (option_verbose > 2) ast_verbose( VERBOSE_PREFIX_3 "%s is busy\n", o->chan->name); - ast_hangup(o->chan) + ast_hangup(o->chan); o->chan = NULL; o->stillgoing = 0; if (in->cdr) @@ -238,7 +238,7 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct localu case AST_CONTROL_CONGESTION: if (option_verbose > 2) ast_verbose( VERBOSE_PREFIX_3 "%s is circuit-busy\n", o->chan->name); - ast_hangup(o->chan) + ast_hangup(o->chan); o->chan = NULL; o->stillgoing = 0; if (in->cdr) @@ -281,7 +281,7 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in, struct localu } ast_frfree(f); } else { - ast_hangup(o->chan) + ast_hangup(o->chan); o->chan = NULL; o->stillgoing = 0; }