std.net: fix windows build

This commit is contained in:
Andrew Kelley
2025-08-04 20:36:34 -07:00
parent 3837862e52
commit 3f8ed5504e

View File

@@ -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 {