lib9p

Go 9P library.
Log | Files | Refs

commit 417a9c66df074607102141c599a581deccd82829
parent 5a3e792123a41d5a3259d13831abf78aa6ff06c9
Author: Matsuda Kenji <info@mtkn.jp>
Date:   Sun,  8 Oct 2023 04:26:53 +0900

add comment

Diffstat:
Mserver.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server.go b/server.go @@ -91,7 +91,7 @@ func (s *Server) runSpeaker(w io.Writer) (chan<- *Req, <-chan error) { ec := make(chan error) go func() { // TODO: close rc anywhere - defer close(ec) + defer close(ec) // I think this will never be called. for { r := <-rc _, err := w.Write(r.ofcall.marshal())