diff options
Diffstat (limited to 'cmd/srv9p/main.c')
-rw-r--r-- | cmd/srv9p/main.c | 4 |
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); |