summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-03-12 18:58:29 +0100
committerMartin Sustrik <sustrik@250bpm.com>2010-03-12 18:58:29 +0100
commit66b67fbdf2b047ef7adb8ec018a6fe89dd9cbfca (patch)
tree109d8d7577e77dee0e3c013c32a05ec899dfb4a5 /src
parent430aa533347dcbca57857d318a6898f480967cba (diff)
devices are built unconditionally
Diffstat (limited to 'src')
-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;