diff options
author | 2021-09-27 21:05:20 -0700 | |
---|---|---|
committer | 2021-09-27 21:05:20 -0700 | |
commit | 2f8be4f13f6be8577afbb4c65db2faadf9459751 (patch) | |
tree | c74d7d0fcbd01321f9d57eb01b4bd0a3f61fd2d5 | |
parent | 8e9d85f10f34dfe5f468f3576beee746366c924b (diff) | |
download | bun-2f8be4f13f6be8577afbb4c65db2faadf9459751.tar.gz bun-2f8be4f13f6be8577afbb4c65db2faadf9459751.tar.zst bun-2f8be4f13f6be8577afbb4c65db2faadf9459751.zip |
()
-rw-r--r-- | src/javascript/jsc/webcore/response.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/javascript/jsc/webcore/response.zig b/src/javascript/jsc/webcore/response.zig index df283060d..ff399990e 100644 --- a/src/javascript/jsc/webcore/response.zig +++ b/src/javascript/jsc/webcore/response.zig @@ -78,7 +78,7 @@ pub const Response = struct { if (this.body.len > 0) { if (this.body.ptr) |_ptr| { var offset: usize = 0; - while (offset < this.body.len and _ptr[offset] > 127 or strings.utf8ByteSequenceLength(_ptr[offset]) == 0) : (offset += 1) {} + while (offset < this.body.len and (_ptr[offset] > 127 or strings.utf8ByteSequenceLength(_ptr[offset]) == 0)) : (offset += 1) {} if (offset < this.body.len) { break :brk ZigString.init(_ptr[offset..this.body.len]).toValue(VirtualMachine.vm.global); } |