summaryrefslogtreecommitdiff
path: root/coroutine.h
diff options
context:
space:
mode:
Diffstat (limited to 'coroutine.h')
-rw-r--r--coroutine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/coroutine.h b/coroutine.h
index fbaf000..13f9797 100644
--- a/coroutine.h
+++ b/coroutine.h
@@ -54,7 +54,7 @@ cid_t cr_getcid(void);
#define cr_chan_have_req(ch) ((ch)->requester != 0)
#define cr_chan_recv_req(ch, _req_p) do { \
(ch)->responder = cr_getcid(); \
- if ((ch)->requester == 0) { \
+ if ((ch)->requester == 0) \
cr_pause_and_yield(); \
*(_req_p) = (ch)->req; \
} while (0)