diff options
Diffstat (limited to 'src/pgm_receiver.cpp')
-rw-r--r-- | src/pgm_receiver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pgm_receiver.cpp b/src/pgm_receiver.cpp index 5532546..ceae0da 100644 --- a/src/pgm_receiver.cpp +++ b/src/pgm_receiver.cpp @@ -144,7 +144,7 @@ void zmq::pgm_receiver_t::in_event () // No data to process. This may happen if the packet received is // neither ODATA nor ODATA. - if (received == 0) + if (received < 0) break; // Find the peer based on its TSI. |