- bugfix for multi-build bug found by tomreyn (looks like an infinite loop)
This commit is contained in:
parent
1e2da898b7
commit
d301f5873d
|
@ -1109,7 +1109,7 @@ Unit * UnitUpdater::findPeerUnitBuilder(Unit *unit) {
|
||||||
if(prct != NULL) {
|
if(prct != NULL) {
|
||||||
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
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__);
|
SystemFlags::OutputDebug(SystemFlags::debugSystem,"In [%s::%s Line: %d]\n",__FILE__,__FUNCTION__,__LINE__);
|
||||||
|
|
||||||
firstLinkedPeerRepairer = peerUnit;
|
firstLinkedPeerRepairer = peerUnit;
|
||||||
|
|
Loading…
Reference in New Issue