- bugfix for multi-build bug found by tomreyn (looks like an infinite loop)

This commit is contained in:
Mark Vejvoda 2011-01-10 15:31:40 +00:00
parent 1e2da898b7
commit d301f5873d
1 changed files with 1 additions and 1 deletions

View File

@ -1109,7 +1109,7 @@ Unit * UnitUpdater::findPeerUnitBuilder(Unit *unit) {
if(prct != NULL) {
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
if(command->getStateValue() == peerUnit->getId()) {
if(unit != peerUnit && command->getStateValue() == peerUnit->getId()) {
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
firstLinkedPeerRepairer = peerUnit;