]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
automerge commit
authorAutomerge Script <automerge@asterisk.org>
Wed, 20 Jun 2007 20:26:16 +0000 (20:26 +0000)
committerAutomerge Script <automerge@asterisk.org>
Wed, 20 Jun 2007 20:26:16 +0000 (20:26 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2-netsec@70492 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_dial.c

index ccd6489c87b4314cdcfc08f3d813a52828f65c76..d36677c2f5cc9892346b3bfe05f9d3e8d68934fd 100644 (file)
@@ -1574,7 +1574,7 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags
                                time_t now;
 
                                time(&now);
-                               chan->whentohangup = now + calldurationlimit;
+                               peer->whentohangup = now + calldurationlimit;
                        }
                        if (!ast_strlen_zero(dtmfcalled)) { 
                                if (option_verbose > 2)