mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 15:13:28 +00:00
fix release build (constness via telemetry, not seen in debug)
This commit is contained in:
@@ -195,7 +195,7 @@ pub const Connection = struct {
|
|||||||
pub fn request(self: *const Connection) !u16 {
|
pub fn request(self: *const Connection) !u16 {
|
||||||
const easy = self.easy;
|
const easy = self.easy;
|
||||||
|
|
||||||
const header_list = try Headers.init();
|
var header_list = try Headers.init();
|
||||||
defer header_list.deinit();
|
defer header_list.deinit();
|
||||||
try self.secretHeaders(&header_list);
|
try self.secretHeaders(&header_list);
|
||||||
try errorCheck(c.curl_easy_setopt(easy, c.CURLOPT_HTTPHEADER, header_list.headers));
|
try errorCheck(c.curl_easy_setopt(easy, c.CURLOPT_HTTPHEADER, header_list.headers));
|
||||||
|
|||||||
Reference in New Issue
Block a user