Skip to content

Commit

Permalink
ymodem: size already included in message
Browse files Browse the repository at this point in the history
  • Loading branch information
jmbaur committed Dec 6, 2024
1 parent 23fc277 commit 06baecf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ymodem.zig
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ pub fn recv(tty: *system.Tty, dir: std.fs.Dir) !void {
filesize = try std.fmt.parseInt(usize, filesize_str, 10);

out_file = try dir.createFile(std.fs.path.basename(filename), .{});
std.log.info("fetching {} bytes to '{s}'", .{ std.fmt.fmtIntSizeBin(filesize), filename });
std.log.info("fetching {} to '{s}'", .{ std.fmt.fmtIntSizeBin(filesize), filename });
},
.data => {
std.debug.assert(filesize > bytes_written);
Expand Down

0 comments on commit 06baecf

Please sign in to comment.