[Asterisk-cvs] asterisk pbx.c,1.56,1.57

jeremy at lists.digium.com jeremy at lists.digium.com
Mon Sep 29 21:45:40 CDT 2003


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv21956

Modified Files:
	pbx.c 
Log Message:
use timeout value insted of 0. Bug #286


Index: pbx.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- pbx.c	27 Sep 2003 02:22:18 -0000	1.56
+++ pbx.c	30 Sep 2003 02:46:52 -0000	1.57
@@ -3844,7 +3844,7 @@
 		if (!as)
 			return -1;
 		memset(as, 0, sizeof(struct async_stat));
-		chan = ast_request_and_dial(type, format, data, 0, reason, callerid);
+		chan = ast_request_and_dial(type, format, data, timeout, reason, callerid);
 		if (!chan) {
 			free(as);
 			return -1;
@@ -3939,7 +3939,7 @@
 		if (!as)
 			return -1;
 		memset(as, 0, sizeof(struct async_stat));
-		chan = ast_request_and_dial(type, format, data, 0, reason, callerid);
+		chan = ast_request_and_dial(type, format, data, timeout, reason, callerid);
 		if (!chan) {
 			free(as);
 			return -1;




More information about the svn-commits mailing list