mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-30 02:26:23 +00:00
Fix setting the default port of 8088 on 64-bit or big-endian machines.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51755 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -632,7 +632,7 @@ static int __ast_http_load(int reload)
|
||||
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) {
|
||||
|
Reference in New Issue
Block a user