mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
removed some duplicate hard-coded port numbers. changed ports to uint.
This commit is contained in:
@@ -13,7 +13,7 @@ namespace OpenSim.Framework
|
||||
public string DatabaseProvider = "";
|
||||
public static uint DefaultHttpPort = 8004;
|
||||
|
||||
public int HttpPort = 8004;
|
||||
public uint HttpPort = DefaultHttpPort;
|
||||
|
||||
private ConfigurationMember configMember;
|
||||
|
||||
@@ -63,7 +63,7 @@ namespace OpenSim.Framework
|
||||
DatabaseProvider = (string) configuration_result;
|
||||
break;
|
||||
case "http_port":
|
||||
HttpPort = (int) configuration_result;
|
||||
HttpPort = (uint) configuration_result;
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user