mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-19 18:03:50 +00:00
parent
7852a6ce98
commit
d7e51cdfed
@ -168,6 +168,7 @@ void zmq::pgm_receiver_t::in_event ()
|
|||||||
if (active_tsi) {
|
if (active_tsi) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Read data from the underlying pgm_socket.
|
// Read data from the underlying pgm_socket.
|
||||||
const pgm_tsi_t *tsi = NULL;
|
const pgm_tsi_t *tsi = NULL;
|
||||||
|
|
||||||
@ -181,7 +182,6 @@ void zmq::pgm_receiver_t::in_event ()
|
|||||||
while (true) {
|
while (true) {
|
||||||
// Get new batch of data.
|
// Get new batch of data.
|
||||||
// Note the workaround made not to break strict-aliasing rules.
|
// Note the workaround made not to break strict-aliasing rules.
|
||||||
|
|
||||||
insize = 0;
|
insize = 0;
|
||||||
void *tmp = NULL;
|
void *tmp = NULL;
|
||||||
ssize_t received = pgm_socket.receive (&tmp, &tsi);
|
ssize_t received = pgm_socket.receive (&tmp, &tsi);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user