Commit 3fc8c707 authored by Victor Perron's avatar Victor Perron

Same fix, in-line style

parent 33f42efb
......@@ -149,7 +149,7 @@ namespace zmq
bool stalled ()
{
// Check whether there was decoding error.
if (unlikely (static_cast <T*> (this)->next == 0))
if (unlikely (!(static_cast <T*> (this)->next)))
return false;
while (!to_read) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment