Fix for broken - Alexis Cousein
git-svn-id: svn://opensvn.adaptivecomputing.com/maui/trunk@132 3f5042e3-fb1d-0410-be18-d6ca2573e517
This commit is contained in:
parent
2267640e03
commit
b0f4f7e712
@ -6250,6 +6250,7 @@ int __MPBSNLToTaskString(
|
||||
int tindex;
|
||||
|
||||
char tmpHostName[MAX_MLINE];
|
||||
char tmpTaskList[MAX_MLINE+10];
|
||||
|
||||
mnode_t *N;
|
||||
|
||||
@ -6302,10 +6303,11 @@ int __MPBSNLToTaskString(
|
||||
}
|
||||
else
|
||||
{
|
||||
sprintf(TSBuf,"%s%s:ppn=%d",
|
||||
TSBuf,
|
||||
snprintf(tmpTaskList,sizeof(tmpTaskList),"%s:ppn=%d",
|
||||
tmpHostName,
|
||||
NL[tindex].TC);
|
||||
|
||||
MUStrCat(TSBuf,tmpTaskList,BufSize);
|
||||
}
|
||||
} /* END for (tindex) */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user