Skip to content

Commit

Permalink
()
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Sep 28, 2021
1 parent 8e9d85f commit 2f8be4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/javascript/jsc/webcore/response.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 2f8be4f

Please sign in to comment.