[asterisk-commits] russell: branch 1.4 r51755 -
/branches/1.4/main/http.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Tue Jan 23 14:52:53 MST 2007
Author: russell
Date: Tue Jan 23 15:52:52 2007
New Revision: 51755
URL: http://svn.digium.com/view/asterisk?view=rev&rev=51755
Log:
Fix setting the default port of 8088 on 64-bit or big-endian machines.
Modified:
branches/1.4/main/http.c
Modified: branches/1.4/main/http.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/http.c?view=diff&rev=51755&r1=51754&r2=51755
==============================================================================
--- branches/1.4/main/http.c (original)
+++ branches/1.4/main/http.c Tue Jan 23 15:52:52 2007
@@ -632,7 +632,7 @@
char newprefix[MAX_PREFIX];
memset(&sin, 0, sizeof(sin));
- sin.sin_port = 8088;
+ sin.sin_port = htons(8088);
strcpy(newprefix, DEFAULT_PREFIX);
cfg = ast_config_load("http.conf");
if (cfg) {
More information about the asterisk-commits
mailing list