diff options
author | 2023-08-24 19:05:40 -0700 | |
---|---|---|
committer | 2023-08-24 19:05:40 -0700 | |
commit | 097ae4e982a9cbcae6b4886c4efb82d452629b99 (patch) | |
tree | 6c274c82a951dc76a566f055985ea890cd92a3bd /misctools/fetch.zig | |
parent | 213f5bef9d58ce90add3a83f5476f61f361ec3ef (diff) | |
download | bun-097ae4e982a9cbcae6b4886c4efb82d452629b99.tar.gz bun-097ae4e982a9cbcae6b4886c4efb82d452629b99.tar.zst bun-097ae4e982a9cbcae6b4886c4efb82d452629b99.zip |
fix build
Diffstat (limited to 'misctools/fetch.zig')
-rw-r--r-- | misctools/fetch.zig | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/misctools/fetch.zig b/misctools/fetch.zig index bb9e09a2a..347ce8cde 100644 --- a/misctools/fetch.zig +++ b/misctools/fetch.zig @@ -187,7 +187,17 @@ pub fn main() anyerror!void { var ctx = try default_allocator.create(HTTP.HTTPChannelContext); ctx.* = .{ .channel = channel, - .http = try HTTP.AsyncHTTP.init(default_allocator, args.method, args.url, args.headers, args.headers_buf, response_body_string, args.body, 0, HTTP.FetchRedirect.follow,), + .http = try HTTP.AsyncHTTP.init( + default_allocator, + args.method, + args.url, + args.headers, + args.headers_buf, + response_body_string, + args.body, + 0, + HTTP.FetchRedirect.follow, + ), }; ctx.http.callback = HTTP.HTTPChannelContext.callback; var batch = HTTPThread.Batch{}; |