summaryrefslogtreecommitdiff
path: root/cmd/srv9p/main.c
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-23 15:21:09 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-23 15:21:09 -0600
commite7378b9f9b122e05baebce387fe9c3844c0736b6 (patch)
treece921a21811cb4ded792f61f2d933cf4e8f87a96 /cmd/srv9p/main.c
parent9940877f4bb44bc69fecf7fb5afcf3cbab90f088 (diff)
wip
Diffstat (limited to 'cmd/srv9p/main.c')
-rw-r--r--cmd/srv9p/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/srv9p/main.c b/cmd/srv9p/main.c
index d83fac4..7ed985f 100644
--- a/cmd/srv9p/main.c
+++ b/cmd/srv9p/main.c
@@ -91,8 +91,8 @@ static COROUTINE read_cr(void *_srv) {
cr_begin();
- struct gnet_listener listener;
- gnet_listener_init(&listener, 9000);
+ struct gnet_tcp_listener listener;
+ gnet_tcp_listener_init(&listener, 9000);
lib9p_srv_read_cr(srv, &listener);