Commit 013a99da authored by Martin Hurton's avatar Martin Hurton

Merge pull request #480 from vperron/master

Tiny fix
parents a4a73165 3fc8c707
......@@ -149,7 +149,7 @@ namespace zmq
bool stalled ()
{
// Check whether there was decoding error.
if (unlikely (static_cast <T*> (this)->next == NULL))
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