git-svn-id: svn://opensvn.adaptivecomputing.com/maui/trunk@34 3f5042e3-fb1d-0410-be18-d6ca2573e517
This commit is contained in:
dev 2005-09-23 20:52:23 +00:00
parent 9c781106e7
commit 1ccb8ba44e
2 changed files with 17 additions and 9 deletions

View File

@ -1 +1 @@
#define MSCHED_VERSION "maui-3.2.6p14-snap.1126543721"
#define MSCHED_VERSION "maui-3.2.6p14-snap.1127489156"

View File

@ -469,14 +469,6 @@ int MJobGetAccount(
return(SUCCESS);
}
if ((MSched.DefaultU != NULL) &&
(MSched.DefaultU->F.ADef != NULL))
{
*A = MSched.DefaultU->F.ADef;
return(SUCCESS);
}
if ((J->Cred.G != NULL) &&
(J->Cred.G->F.ADef != NULL))
{
@ -513,6 +505,22 @@ int MJobGetAccount(
return(FAILURE);
}
} /* END if (MAM[0].Type != mamtNONE) */
if ((MSched.DefaultU != NULL) &&
(MSched.DefaultU->F.ADef != NULL))
{
*A = MSched.DefaultU->F.ADef;
return(SUCCESS);
}
if ((MSched.DefaultG != NULL) &&
(MSched.DefaultG->F.ADef != NULL))
{
*A = MSched.DefaultG->F.ADef;
return(SUCCESS);
}
return(SUCCESS);
} /* END MJobGetAccount() */