small patches for RM->EPort and MADMINHOSTS
git-svn-id: svn://opensvn.adaptivecomputing.com/maui/trunk@72 3f5042e3-fb1d-0410-be18-d6ca2573e517
This commit is contained in:
parent
639302b96d
commit
245cf417ee
@ -2302,6 +2302,12 @@ int MRMProcessConfig(
|
||||
MUStrDup(&R->P[1].HostName,ValLine);
|
||||
|
||||
break;
|
||||
|
||||
case mrmaEPort:
|
||||
|
||||
R->EPort = (int)strtol((char *)Value,NULL,0);
|
||||
|
||||
break;
|
||||
|
||||
case mrmaPort:
|
||||
|
||||
@ -2914,6 +2920,12 @@ int MRMSetAttr(
|
||||
|
||||
break;
|
||||
|
||||
case mrmaEPort:
|
||||
|
||||
R->EPort = (int)strtol((char *)Value,NULL,0);
|
||||
|
||||
break;
|
||||
|
||||
case mrmaHost:
|
||||
|
||||
if (Value != NULL)
|
||||
|
@ -284,7 +284,7 @@ int UIProcessCommand(
|
||||
|
||||
hostcheck = FALSE;
|
||||
|
||||
for (index = 0;index < MAX_MADMINUSERS;index++)
|
||||
for (index = 0;index < MAX_MADMINHOSTS;index++)
|
||||
{
|
||||
if (MSched.AdminHost[index][0] == '\0')
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user