summaryrefslogtreecommitdiff
path: root/src/req.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/req.cpp')
-rw-r--r--src/req.cpp2
1 files changed, 1 insertions, 1 deletions
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;