mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
== string.Empty is .Lenght == 0
This commit is contained in:
@@ -62,7 +62,7 @@ namespace OpenSim.Services.FreeswitchService
|
||||
if (freeswitchConfig != null)
|
||||
{
|
||||
m_freeSwitchDefaultWellKnownIP = freeswitchConfig.GetString("ServerAddress", String.Empty);
|
||||
if (m_freeSwitchDefaultWellKnownIP == String.Empty)
|
||||
if (m_freeSwitchDefaultWellKnownIP.Length == 0)
|
||||
{
|
||||
m_log.Error("[FREESWITCH]: No ServerAddress given, cannot start service.");
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user