diff options
Diffstat (limited to 'src/install.zig')
| -rw-r--r-- | src/install.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/install.zig b/src/install.zig index a459aa6..de6d8f0 100644 --- a/src/install.zig +++ b/src/install.zig | |||
| @@ -55,7 +55,7 @@ pub fn perform(allocator: Allocator, name: []const u8, force: bool, available: I | |||
| 55 | 55 | ||
| 56 | std.log.info("Downloading from {s}...", .{installation.url_str.?}); | 56 | std.log.info("Downloading from {s}...", .{installation.url_str.?}); |
| 57 | 57 | ||
| 58 | var data = try EasyHttp.get(allocator, installation.url.?); | 58 | const data = try EasyHttp.get(allocator, installation.url.?); |
| 59 | defer allocator.free(data); | 59 | defer allocator.free(data); |
| 60 | 60 | ||
| 61 | std.log.info("Extracting...", .{}); | 61 | std.log.info("Extracting...", .{}); |