devices are built unconditionally

This commit is contained in:
Martin Sustrik
2010-03-12 18:58:29 +01:00
parent 430aa53334
commit 66b67fbdf2
3 changed files with 2 additions and 47 deletions

View File

@@ -75,7 +75,7 @@ void zmq::req_t::xdetach_inpipe (class reader_t *pipe_)
active--;
in_pipes.swap (index, active);
out_pipes.swap (index, active);
if (current = active)
if (current == active)
current = 0;
}
return;