Skip to content

Commit 875815f

Browse files
committed
std.net: fix windows build
1 parent 7dd912a commit 875815f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/std/net.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1944,7 +1944,7 @@ pub const Stream = struct {
19441944
pub const Error = ReadError;
19451945

19461946
pub fn getStream(r: *const Reader) Stream {
1947-
return r.stream;
1947+
return r.net_stream;
19481948
}
19491949

19501950
pub fn getError(r: *const Reader) ?Error {

0 commit comments

Comments
 (0)