[asterisk-commits] file: trunk r74923 - in /trunk: ./ main/channel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jul 12 14:19:03 CDT 2007


Author: file
Date: Thu Jul 12 14:19:03 2007
New Revision: 74923

URL: http://svn.digium.com/view/asterisk?view=rev&rev=74923
Log:
Merged revisions 74922 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r74922 | file | 2007-07-12 16:17:59 -0300 (Thu, 12 Jul 2007) | 2 lines

Whoops... didn't want this to be returned to 0 each iteration.

........

Modified:
    trunk/   (props changed)
    trunk/main/channel.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/main/channel.c
URL: http://svn.digium.com/view/asterisk/trunk/main/channel.c?view=diff&rev=74923&r1=74922&r2=74923
==============================================================================
--- trunk/main/channel.c (original)
+++ trunk/main/channel.c Thu Jul 12 14:19:03 2007
@@ -1992,6 +1992,7 @@
 
 int ast_waitfordigit_full(struct ast_channel *c, int ms, int audiofd, int cmdfd)
 {
+	int begin_digit = 0;
 
 	/* Stop if we're a zombie or need a soft hangup */
 	if (ast_test_flag(c, AST_FLAG_ZOMBIE) || ast_check_hangup(c))
@@ -1999,7 +2000,7 @@
 	/* Wait for a digit, no more than ms milliseconds total. */
 	while (ms) {
 		struct ast_channel *rchan;
-		int outfd, begin_digit = 0;
+		int outfd;
 
 		errno = 0;
 		rchan = ast_waitfor_nandfds(&c, 1, &cmdfd, (cmdfd > -1) ? 1 : 0, NULL, &outfd, &ms);




More information about the asterisk-commits mailing list