0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 07:31:03 +08:00

Problem: indentation issues with PR #3226

Solution: fix them
This commit is contained in:
Luca Boccassi 2018-08-19 18:12:28 +01:00
parent 7852a6ce98
commit d7e51cdfed

View File

@ -166,8 +166,9 @@ void zmq::pgm_receiver_t::in_event ()
// If active_tsi is not null, there is a pending restart_input.
// Keep the internal state as is so that restart_input would process the right data
if (active_tsi) {
return;
return;
}
// Read data from the underlying pgm_socket.
const pgm_tsi_t *tsi = NULL;
@ -181,8 +182,7 @@ void zmq::pgm_receiver_t::in_event ()
while (true) {
// Get new batch of data.
// Note the workaround made not to break strict-aliasing rules.
insize = 0;
insize = 0;
void *tmp = NULL;
ssize_t received = pgm_socket.receive (&tmp, &tsi);