[Asterisk-cvs] asterisk/res res_agi.c,1.9,1.10

citats at lists.digium.com citats at lists.digium.com
Tue Sep 28 23:30:35 CDT 2004


Update of /usr/cvsroot/asterisk/res
In directory mongoose.digium.com:/home/citats/cvs/asterisk/res

Modified Files:
	res_agi.c 
Log Message:
Fix FastAGI working with non default ports (bug 2539)

Index: res_agi.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_agi.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- res_agi.c	28 Sep 2004 14:14:00 -0000	1.9
+++ res_agi.c	29 Sep 2004 03:32:58 -0000	1.10
@@ -136,7 +136,7 @@
 	if ((c = strchr(host, ':'))) {
 		*c = '\0';
 		c++;
-		port = atoi(c + 1);
+		port = atoi(c);
 	}
 	if (efd) {
 		ast_log(LOG_WARNING, "AGI URI's don't support Enhanced AGI yet\n");




More information about the svn-commits mailing list