mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-05 10:47:41 +02:00
Changes from mercurial repository.
This commit is contained in:
parent
44bb32f476
commit
98c68897d8
135 changed files with 2686 additions and 26965 deletions
|
@ -379,7 +379,7 @@ CClientProxy1_0::setOptions(const COptionsList& options)
|
|||
CProtocolUtil::writef(getStream(), kMsgDSetOptions, &options);
|
||||
|
||||
// check options
|
||||
for (UInt32 i = 0, n = options.size(); i < n; i += 2) {
|
||||
for (UInt32 i = 0, n = (UInt32)options.size(); i < n; i += 2) {
|
||||
if (options[i] == kOptionHeartbeat) {
|
||||
double rate = 1.0e-3 * static_cast<double>(options[i + 1]);
|
||||
if (rate <= 0.0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue