the default port number was erroneously stored in host order,
authorLuigi Rizzo <rizzo@icir.org>
Sat, 21 Oct 2006 20:24:04 +0000 (20:24 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Sat, 21 Oct 2006 20:24:04 +0000 (20:24 +0000)
commita0ae6ebd8e8a4058e4f644420601b42102b8cb94
tree53e1c13415b3294b88c82181860ef6c1523f5799
parent62d3a11eb923c79c3cd2d5b7e39168d3b1d51a7e
the default port number was erroneously stored in host order,
and reading from the config file used ntohs instead of htons.

this ought to be merged to 1.4 as well.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45836 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/http.c