Merged revisions 108961 via svnmerge from
authorMichiel van Baak <michiel@vanbaak.info>
Sun, 16 Mar 2008 21:50:58 +0000 (21:50 +0000)
committerMichiel van Baak <michiel@vanbaak.info>
Sun, 16 Mar 2008 21:50:58 +0000 (21:50 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r108961 | mvanbaak | 2008-03-16 22:47:10 +0100 (Sun, 16 Mar 2008) | 7 lines

add missing break to case AST_CONTROL_SRCUPDATE

(closes issue #12228)
Reported by: andrew
Patches:
      SRC.patch uploaded by andrew (license 240)

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@108962 65c4cc65-6c06-0410-ace0-fbb531ad65f3

main/dial.c

index 688382f..95f709e 100644 (file)
@@ -426,6 +426,7 @@ static void handle_frame(struct ast_dial *dial, struct ast_dial_channel *channel
                        if (option_verbose > 2)
                                ast_verbose (VERBOSE_PREFIX_3 "%s requested a source update, passing it to %s\n", channel->owner->name, chan->name);
                        ast_indicate(chan, AST_CONTROL_SRCUPDATE);
+                       break;
                case AST_CONTROL_PROCEEDING:
                        ast_verb(3, "%s is proceeding, passing it to %s\n", channel->owner->name, chan->name);
                        ast_indicate(chan, AST_CONTROL_PROCEEDING);