From 66b67fbdf2b047ef7adb8ec018a6fe89dd9cbfca Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Fri, 12 Mar 2010 18:58:29 +0100 Subject: devices are built unconditionally --- src/req.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/req.cpp b/src/req.cpp index 5b09589..548cf52 100644 --- a/src/req.cpp +++ b/src/req.cpp @@ -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; -- cgit v1.2.3