From 3fcedc4ca8e505adcb95f36a9958ab5ca21d74fe Mon Sep 17 00:00:00 2001 From: Willow Barraco Date: Wed, 13 Sep 2023 16:30:27 +0200 Subject: [PATCH] Rename BUFSZ Signed-off-by: Willow Barraco --- cmd/tcpclient/main.ha | 4 ++-- cmd/tcpserv/main.ha | 2 +- cmd/udpclient/main.ha | 4 ++-- cmd/udpserv/main.ha | 2 +- diff --git a/cmd/tcpclient/main.ha b/cmd/tcpclient/main.ha index 74635cb324818779ae5f1c1126d88cfbfaeb3bc4..8b802c9a8c0f3ae0707b7ac8d9b501d7da6d2b1c 100644 --- a/cmd/tcpclient/main.ha +++ b/cmd/tcpclient/main.ha @@ -11,8 +11,8 @@ loop: *ev::loop, stdin: *ev::file, stdout: *ev::file, sock: *ev::file, - stdbuf: [os::BUFSIZ]u8, - netbuf: [os::BUFSIZ]u8, + stdbuf: [os::BUFSZ]u8, + netbuf: [os::BUFSZ]u8, wbuf: []u8, }; diff --git a/cmd/tcpserv/main.ha b/cmd/tcpserv/main.ha index c46e71ef5205fab10eb56f0c73519762b8b5403a..37cdf9b6545899fbc9941388bb852d02e3528aa8 100644 --- a/cmd/tcpserv/main.ha +++ b/cmd/tcpserv/main.ha @@ -20,7 +20,7 @@ server: *server, sock: *ev::file, addr: ip::addr, port: u16, - buf: [os::BUFSIZ]u8, + buf: [os::BUFSZ]u8, wbuf: []u8, }; diff --git a/cmd/udpclient/main.ha b/cmd/udpclient/main.ha index 7f993f1c797749769a2e26a8af8af4e5555005ca..d0c966715d544dbf948fd549f9a0fa5109287ee2 100644 --- a/cmd/udpclient/main.ha +++ b/cmd/udpclient/main.ha @@ -11,8 +11,8 @@ loop: *ev::loop, stdin: *ev::file, stdout: *ev::file, sock: *ev::file, - stdbuf: [os::BUFSIZ]u8, - netbuf: [os::BUFSIZ]u8, + stdbuf: [os::BUFSZ]u8, + netbuf: [os::BUFSZ]u8, wbuf: []u8, }; diff --git a/cmd/udpserv/main.ha b/cmd/udpserv/main.ha index 5d849ef4e09868aced24f5dff1d604d0de375aa7..e98fc6c906c25b1324111306195b4b0b6caec9de 100644 --- a/cmd/udpserv/main.ha +++ b/cmd/udpserv/main.ha @@ -9,7 +9,7 @@ type state = struct { loop: *ev::loop, src: ip::addr, port: u16, - buf: [os::BUFSIZ]u8, + buf: [os::BUFSZ]u8, wbuf: []u8, }; -- 2.48.1