commit | e6f2ae1415abd793bd4b1760b023a9ffc75a0e30 | [log] [tgz] |
---|---|---|
author | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Thu Jan 24 21:50:00 2013 -0800 |
committer | Alexander Afanasyev <alexander.afanasyev@ucla.edu> | Thu Jan 24 21:50:00 2013 -0800 |
tree | 8d948bb30defd30fdbfd9a9181a1464152660e7d | |
parent | fc72036ea8eca762579a19f80d50ccf4c8b2a120 [diff] [blame] |
Small bug, causing infinite loops
diff --git a/src/dispatcher.cc b/src/dispatcher.cc index ad88aed..63e0937 100644 --- a/src/dispatcher.cc +++ b/src/dispatcher.cc
@@ -216,7 +216,7 @@ int size = stateMsg->state_size(); int index = 0; // iterate and fetch the actions - while (index < size) + for (; index < size; index++) { SyncState state = stateMsg->state (index); if (state.has_old_seq() && state.has_seq())