| ... | @@ -36,7 +36,7 @@ pub const Address = extern union { | ... | @@ -36,7 +36,7 @@ pub const Address = extern union { |
| 36 | .name => |hostname| blk: { | 36 | .name => |hostname| blk: { |
| 37 | const hostnamez = try allocator.dupeZ(u8, hostname); | 37 | const hostnamez = try allocator.dupeZ(u8, hostname); |
| 38 | defer allocator.free(hostnamez); | 38 | defer allocator.free(hostnamez); |
| 39 | const portz = try std.fmt.allocPrintZ(allocator, "{d}", .{u.portFancy().?}); | 39 | const portz = try nio.fmt.allocPrintZ(allocator, "{d}", .{u.portFancy().?}); |
| 40 | defer allocator.free(portz); | 40 | defer allocator.free(portz); |
| 41 | const gai = try getaddrinfo(hostnamez, portz, null); | 41 | const gai = try getaddrinfo(hostnamez, portz, null); |
| 42 | defer freeaddrinfo(gai); | 42 | defer freeaddrinfo(gai); |