allow clients to accept MAUIHOMEDIR in /etc/maui.cfg
git-svn-id: svn://opensvn.adaptivecomputing.com/maui/trunk@50 3f5042e3-fb1d-0410-be18-d6ca2573e517
This commit is contained in:
parent
35f9a009c7
commit
a0264311b9
@ -141,6 +141,9 @@ int main(
|
||||
|
||||
ServerProcessArgs(ArgC,tmpArgV,FALSE);
|
||||
|
||||
/* walk to end of ArgV[] because ServerProcessArgs() may free portions of tmpArgV[]
|
||||
as side-affect */
|
||||
|
||||
for (aindex = 0;aindex < ArgC;aindex++)
|
||||
{
|
||||
if (ArgV[aindex] == NULL)
|
||||
@ -590,7 +593,7 @@ int MServerConfigShow(
|
||||
int ServerProcessArgs(
|
||||
|
||||
int ArgC,
|
||||
char **ArgV,
|
||||
char **ArgV, /* I (potentially modified) */
|
||||
int PreLoad) /* I (boolean) */
|
||||
|
||||
{
|
||||
|
@ -681,7 +681,8 @@ int __MCInitialize()
|
||||
|
||||
if ((buf = MFULoad(MASTER_CONFIGFILE,1,macmRead,&count,&SC)) != NULL)
|
||||
{
|
||||
if ((ptr = strstr(buf,MParam[pMServerHomeDir])) != NULL)
|
||||
if (((ptr = strstr(buf,MParam[pMServerHomeDir])) != NULL) ||
|
||||
((ptr = strstr(buf,"MAUIHOMEDIR")) != NULL))
|
||||
{
|
||||
MUSScanF(ptr,"%x%s %x%s",
|
||||
sizeof(tmpLine),
|
||||
|
Loading…
Reference in New Issue
Block a user