mirror of
https://github.com/ziglang/zig.git
synced 2024-11-15 16:45:27 +00:00
std.net: remove the hack from earlier in the branch
This commit is contained in:
parent
f614d94faa
commit
6b6f2fcf96
@ -957,8 +957,10 @@ fn linuxLookupNameFromDns(
|
||||
}
|
||||
}
|
||||
|
||||
var hack: usize = 0; // TODO remove this hack
|
||||
var ap = [2][]u8{ apbuf[0][0..hack], apbuf[1][0..hack] };
|
||||
var ap = [2][]u8{ apbuf[0], apbuf[1] };
|
||||
ap[0].len = 0;
|
||||
ap[1].len = 0;
|
||||
|
||||
try resMSendRc(qp[0..nq], ap[0..nq], apbuf[0..nq], rc);
|
||||
|
||||
var i: usize = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user