aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-11-24 02:26:28 -0800
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-11-24 02:26:28 -0800
commit57fcd882fc5488dcd4a1e27aabc83a14d2f725d0 (patch)
treec2bf3d4de2b06f6fd96cae3b6b83b6fce9a9b5f8 /src
parentb2e48477dbf70cb847de433e1040fb857475256d (diff)
downloadbun-57fcd882fc5488dcd4a1e27aabc83a14d2f725d0.tar.gz
bun-57fcd882fc5488dcd4a1e27aabc83a14d2f725d0.tar.zst
bun-57fcd882fc5488dcd4a1e27aabc83a14d2f725d0.zip
Update streams.zig
Diffstat (limited to 'src')
-rw-r--r--src/bun.js/webcore/streams.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bun.js/webcore/streams.zig b/src/bun.js/webcore/streams.zig
index 2cdbc4f1c..88e5c54ac 100644
--- a/src/bun.js/webcore/streams.zig
+++ b/src/bun.js/webcore/streams.zig
@@ -3552,7 +3552,7 @@ pub const FIFO = struct {
return @intCast(u32, @maximum(len, 0));
}
- pub fn adjustCapacityOnLinux(this: *FIFO, current: u32, max: u32) u32 {
+ pub fn adjustCapacityOnLinux(this: *FIFO, current: u32, max: u32) void {
// we do not un-mark it as readable if there's nothing in the pipe
if (!this.has_adjusted_pipe_size_on_linux) {
if (current > 0 and max >= std.mem.page_size * 16) {