Skip to content

Commit

Permalink
update dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
FObersteiner committed May 28, 2024
1 parent c3604c2 commit db0a87c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.zig.zon
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
.version = "0.0.6",
.dependencies = .{
.zdt = .{
.url = "https://codeberg.org/FObersteiner/zdt/archive/main.tar.gz",
.hash = "12205afa4f678b4176360ed45fb25e69c39f4a0b2e61e30745efb70ada3a96cc00b9",
.url = "https://codeberg.org/FObersteiner/zdt/archive/v0.1.2.tar.gz",
.hash = "1220888b19e66e7f259effe27893a6953379f1922278722011d01ef23b392d2bd1d6",
},
.flags = .{
.url = "https://github.com/n0s4/flags/archive/main.tar.gz",
Expand Down
4 changes: 3 additions & 1 deletion src/main.zig
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,9 @@ pub fn main() !void {
}

const result: ntp.Result = ntp.Packet.analyze(buf[0..ntp.packet_len].*);
println("Server address: {any}\n", .{dst});
println("Server name: {s}", .{cli.flags.server});
println("Server address: {any}", .{dst});
println("---", .{});

try pprint(io.getStdOut().writer(), result, &tz);

Expand Down

0 comments on commit db0a87c

Please sign in to comment.