summaryrefslogtreecommitdiff
path: root/net9p.c
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-18 01:12:07 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-18 01:12:07 -0600
commit05ce08877ff420ca9fc77599dd947ff610d02cb0 (patch)
tree52ee0fbcd5ada2bb4725fce5c57f29863e17f7c9 /net9p.c
parent52eb34af7be585c411a9a9ab39f0bea1d19e7d32 (diff)
fixes
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();
}