Fix std.net.StreamServer.Connection ref
This commit is contained in:
parent
ce08b76cdc
commit
c1c5e3014d
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ pub const Connection = struct {
|
|||
address: std.net.Address,
|
||||
stream: std.net.Stream,
|
||||
|
||||
fn new(id: Id, std_conn: std.net.Connection) Connection {
|
||||
fn new(id: Id, std_conn: std.net.StreamServer.Connection) Connection {
|
||||
std.log.debug("new connection conn_id={}", .{id});
|
||||
return .{
|
||||
.id = id,
|
||||
|
|
Loading…
Reference in a new issue