aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vaughan Rouesnel <vrouesnel@gmail.com> 2022-11-12 04:27:58 +0100
committerGravatar Vaughan Rouesnel <vrouesnel@gmail.com> 2022-11-12 04:27:58 +0100
commitf25d48cb224338be9a17996bca181e71cdf99dbf (patch)
treeb5a6057abf9ea173359ee4dea51e37eee26c34d7
parent580107d0011999e48db0bbeda0f8550fa9d0743f (diff)
downloadbun-f25d48cb224338be9a17996bca181e71cdf99dbf.tar.gz
bun-f25d48cb224338be9a17996bca181e71cdf99dbf.tar.zst
bun-f25d48cb224338be9a17996bca181e71cdf99dbf.zip
Fix: fmt fixing
-rw-r--r--src/bun.js/webcore/streams.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bun.js/webcore/streams.zig b/src/bun.js/webcore/streams.zig
index 6d18c71d5..6d4fcb6bf 100644
--- a/src/bun.js/webcore/streams.zig
+++ b/src/bun.js/webcore/streams.zig
@@ -2013,7 +2013,7 @@ pub fn HTTPServerWritable(comptime ssl: bool) type {
fn send(this: *@This(), buf: []const u8) bool {
std.debug.assert(!this.done);
- defer log("send: {d} bytes (backpressure: {d})", .{ buf.len, this.has_backpressure });
+ defer log("send: {d} bytes (backpressure: {any})", .{ buf.len, this.has_backpressure });
if (this.requested_end and !this.res.state().isHttpWriteCalled()) {
const success = this.res.tryEnd(buf, this.end_len, false);
@@ -2357,7 +2357,7 @@ pub fn HTTPServerWritable(comptime ssl: bool) type {
// In this case, it's always an error
pub fn end(this: *@This(), err: ?Syscall.Error) JSC.Node.Maybe(void) {
- log("end({?s})", .{err});
+ log("end({any})", .{err});
if (this.requested_end) {
return .{ .result = {} };