summaryrefslogtreecommitdiff
path: root/net9p.c
diff options
context:
space:
mode:
Diffstat (limited to 'net9p.c')
-rw-r--r--net9p.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net9p.c b/net9p.c
index a9c9025..13b1a33 100644
--- a/net9p.c
+++ b/net9p.c
@@ -37,7 +37,7 @@ void net9p_listen_cr(void *_arg) {
if (!coroutine_add(net9p_worker_cr, &conn))
error(1, 0, "coroutine_add(net9p_worker_cr, &%d)", conn);
printf("im back...\n");
- for (;;) {
+ for (int i = 0; i < 10; i++) {
cr_yield();
}