diff options
author | citats <citats@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-09-29 03:32:58 +0000 |
---|---|---|
committer | citats <citats@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-09-29 03:32:58 +0000 |
commit | 39ff1446f08e7ee792b811ce2f45708815f83085 (patch) | |
tree | b1b83976b4e5a81caf494733d1a6d1ed3339ec99 /res | |
parent | 7ab474aedad3b78f1c0387e8cbf354643a422f73 (diff) |
Fix FastAGI working with non default ports (bug 2539)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3852 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rwxr-xr-x | res/res_agi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_agi.c b/res/res_agi.c index 626844150..7325d781b 100755 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -136,7 +136,7 @@ static int launch_netscript(char *agiurl, char *argv[], int *fds, int *efd, int 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"); |