Patch level :10.0 110
Files correlati : Ricompilazione Demo : [ ] Commento :is_power_station corretta git-svn-id: svn://10.65.10.50/trunk@17182 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
4b18414cae
commit
088b4de78d
@ -596,7 +596,7 @@ bool is_power_station()
|
|||||||
const TString& hostname = get_hostname();
|
const TString& hostname = get_hostname();
|
||||||
for (int i = 0; ranger[i]; i++)
|
for (int i = 0; ranger[i]; i++)
|
||||||
{
|
{
|
||||||
if (hostname.compare(ranger[i], true) == 0)
|
if (hostname.compare(ranger[i], -1, true) == 0)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user