diff options
Diffstat (limited to 'src/deps/picohttp.zig')
-rw-r--r-- | src/deps/picohttp.zig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/deps/picohttp.zig b/src/deps/picohttp.zig index 374793f38..90b13e942 100644 --- a/src/deps/picohttp.zig +++ b/src/deps/picohttp.zig @@ -163,7 +163,7 @@ pub const Response = struct { .status_code = @intCast(usize, status_code), .status = status, .headers = src[0..num_headers], - .bytes_read = bytes_read, + .bytes_read = rc, }, }; } @@ -238,3 +238,5 @@ test "pico_http: parse headers" { std.debug.print("{}\n", .{header}); } } + +pub usingnamespace c; |