removed some duplicate hard-coded port numbers. changed ports to uint.

This commit is contained in:
Jeff Ames
2007-12-06 01:41:41 +00:00
parent d2736437d4
commit 4bde56457f
19 changed files with 43 additions and 47 deletions

View File

@@ -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;
}