protocol: Fixed wrong ACK wait loop
This commit is contained in:
parent
9fb27d0c41
commit
40db697600
1 changed files with 2 additions and 1 deletions
|
@ -102,7 +102,8 @@ void cr_send_to_runner(const criterion_protocol_msg *message) {
|
|||
criterion_perror("Could not read ack: %s.\n", nn_strerror(errno));
|
||||
abort();
|
||||
}
|
||||
} while (read > 0);
|
||||
break;
|
||||
} while (true);
|
||||
|
||||
criterion_protocol_ack ack;
|
||||
pb_istream_t stream = pb_istream_from_buffer(buf, read);
|
||||
|
|
Loading…
Add table
Reference in a new issue