summaryrefslogtreecommitdiff
path: root/eio.c
diff options
context:
space:
mode:
Diffstat (limited to 'eio.c')
-rw-r--r--eio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eio.c b/eio.c
index 45f86ae..ed73af2 100644
--- a/eio.c
+++ b/eio.c
@@ -332,10 +332,10 @@ static void etp_atfork_child (void)
{
ETP_REQ *prv;
- while (prv = reqq_shift (&req_queue))
+ while ((prv = reqq_shift (&req_queue)))
ETP_DESTROY (prv);
- while (prv = reqq_shift (&res_queue))
+ while ((prv = reqq_shift (&res_queue)))
ETP_DESTROY (prv);
while (wrk_first.next != &wrk_first)