diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-11 20:21:44 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-11 20:21:44 +0000 |
commit | e8c74a4a13470289aaeece7df64240f4bf118697 (patch) | |
tree | 60c1977760207649636da958c83e97f13c2024a5 /main/features.c | |
parent | e86e350ed22662ed5ef2a03986337e2d3545137c (diff) |
Add an appropriate goto if ast_call fails
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@163198 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/features.c')
-rw-r--r-- | main/features.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/features.c b/main/features.c index 38f45400e..f791340cf 100644 --- a/main/features.c +++ b/main/features.c @@ -2033,6 +2033,7 @@ static struct ast_channel *ast_feature_request_and_dial(struct ast_channel *call if (ast_call(chan, data, timeout)) { ast_log(LOG_NOTICE, "Unable to call channel %s/%s\n", type, (char *)data); + goto done; } ast_indicate(caller, AST_CONTROL_RINGING); |