mirror of
https://github.com/ziglang/zig.git
synced 2026-02-20 08:14:48 +00:00
std.net: fix windows build
This commit is contained in:
parent
3837862e52
commit
3f8ed5504e
@ -1944,7 +1944,7 @@ pub const Stream = struct {
|
||||
pub const Error = ReadError;
|
||||
|
||||
pub fn getStream(r: *const Reader) Stream {
|
||||
return r.stream;
|
||||
return r.net_stream;
|
||||
}
|
||||
|
||||
pub fn getError(r: *const Reader) ?Error {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user