Changeset 11584
- Timestamp:
- 07/25/11 13:02:52 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/fadctrl.cc
r11578 r11584 1383 1383 stat2[idx] = GetNumConnected(idx); 1384 1384 1385 if ( IsConnecting(idx))1385 if (runs && IsConnecting(idx)) 1386 1386 { 1387 1387 nconnecting2++; … … 1398 1398 // ===== Send connection status via dim ===== 1399 1399 1400 if (fStatus1!=stat1 || fStatus2!=stat2 || fStatusT!= IsThreadRunning())1400 if (fStatus1!=stat1 || fStatus2!=stat2 || fStatusT!=runs) 1401 1401 { 1402 1402 fStatus1 = stat1; 1403 1403 fStatus2 = stat2; 1404 1404 fStatusT = runs; 1405 UpdateConnectionStatus(stat1, stat2, IsThreadRunning());1405 UpdateConnectionStatus(stat1, stat2, runs); 1406 1406 } 1407 1407 … … 1452 1452 1453 1453 // nconnected1 == nconnected2 == 0 1454 return IsThreadRunning()? FAD::kDisconnected : FAD::kOffline;1454 return runs ? FAD::kDisconnected : FAD::kOffline; 1455 1455 } 1456 1456
Note:
See TracChangeset
for help on using the changeset viewer.