aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 94f195e..c2ee302 100644
--- a/main.go
+++ b/main.go
@@ -32,7 +32,7 @@ func main() {
}
go func() {
- err := handle_incoming_server_connection(bufio.NewReader(conn), bufio.NewWriter(conn))
+ err := handle_incoming_server_connection(bufio.NewReadWriter(bufio.NewReader(conn), bufio.NewWriter(conn)))
if err != nil && !errors.Is(err, io.EOF) {
clog.Error("connection handler returned error", "err", err)
}