* Three more warnings are a-gone.

0.6.0-stable
Adam Frisby 2008-03-05 21:56:14 +00:00
parent 4d9ed39444
commit 810d2126ea
2 changed files with 15 additions and 23 deletions

View File

@ -364,9 +364,6 @@ namespace OpenSim.Region.ClientStack
public void ServerListener()
{
uint newPort = listenPort;
for (uint i = 0; i < 20; i++)
{
newPort = listenPort + i;
m_log.Info("[SERVER]: Opening UDP socket on " + listenIP.ToString() + " " + newPort + ".");// Allow alternate ports: " + Allow_Alternate_Port.ToString());
try
{
@ -374,7 +371,6 @@ namespace OpenSim.Region.ClientStack
Server = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
Server.Bind(ServerIncoming);
listenPort = newPort;
break;
}
catch (Exception ex)
{
@ -385,7 +381,6 @@ namespace OpenSim.Region.ClientStack
// We are looking for alternate ports!
//m_log.Info("[SERVER]: UDP socket on " + listenIP.ToString() + " " + listenPort.ToString() + " is not available, trying next.");
}
}
m_log.Info("[SERVER]: UDP socket bound, getting ready to listen");

View File

@ -103,11 +103,8 @@ namespace OpenSim.Region.Physics.OdePlugin
private const uint m_regionHeight = Constants.RegionSize;
private static float ODE_STEPSIZE = 0.020f;
private static bool RENDER_FLAG = false;
private static float metersInSpace = 29.9f;
private int interpenetrations_before_disable = 35;
private IntPtr contactgroup;
private IntPtr LandGeom = (IntPtr) 0;
private float[] _heightmap;