| ... | ... | @@ -1310,7 +1310,7 @@ pub fn deinit(client: *Client) void { |
| 1310 | 1310 | /// Asserts the client has no active connections. |
| 1311 | 1311 | /// Uses `arena` for a few small allocations that must outlive the client, or |
| 1312 | 1312 | /// at least until those fields are set to different values. |
| 1313 | | pub fn initDefaultProxies(client: *Client, arena: Allocator, environ_map: *std.process.Environ.Map) !void { |
| 1313 | pub fn initDefaultProxies(client: *Client, arena: Allocator, environ_map: *const std.process.Environ.Map) !void { |
| 1314 | 1314 | const io = client.io; |
| 1315 | 1315 | |
| 1316 | 1316 | // Prevent any new connections from being created. |
| ... | ... | @@ -1334,7 +1334,7 @@ pub fn initDefaultProxies(client: *Client, arena: Allocator, environ_map: *std.p |
| 1334 | 1334 | |
| 1335 | 1335 | fn createProxyFromEnvVar( |
| 1336 | 1336 | arena: Allocator, |
| 1337 | | environ_map: *std.process.Environ.Map, |
| 1337 | environ_map: *const std.process.Environ.Map, |
| 1338 | 1338 | env_var_names: []const []const u8, |
| 1339 | 1339 | ) !?*Proxy { |
| 1340 | 1340 | const content = for (env_var_names) |name| { |