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:
wightman 2006-11-17 16:56:07 +00:00
parent 639302b96d
commit 245cf417ee
2 changed files with 13 additions and 1 deletions

View File

@ -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)

View File

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