summaryrefslogtreecommitdiff
path: root/libports/resume-all-rpcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'libports/resume-all-rpcs.c')
-rw-r--r--libports/resume-all-rpcs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libports/resume-all-rpcs.c b/libports/resume-all-rpcs.c
index fa978c1e..452da3b2 100644
--- a/libports/resume-all-rpcs.c
+++ b/libports/resume-all-rpcs.c
@@ -28,7 +28,7 @@ ports_resume_all_rpcs ()
mutex_lock (&_ports_lock);
assert (_ports_flags & _PORTS_INHIBITED);
_ports_flags &= ~_PORTS_INHIBITED;
- if (_ports_flags | _PORTS_BLOCKED)
+ if (_ports_flags & _PORTS_BLOCKED)
{
_ports_flags &= ~_PORTS_BLOCKED;
condition_broadcast (&_ports_block);