| author | |
| committer | |
| log | a24101be5b8ca31d72005e984b1eff2958de7d2b |
| tree | 6b460c5383be4f169275298fad10e0625ade35ee |
| parent | e739b2b7d6b61da805bab64854b47978f872c48d |
Co-authored-by: LemonBoy <LemonBoy@users.noreply.github.com>1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/x/os/socket_posix.zig+1-1| ... | ... | @@ -156,7 +156,7 @@ pub const Socket = struct { |
| 156 | 156 | /// seconds. |
| 157 | 157 | pub fn setLinger(self: Socket, timeout_seconds: ?u16) !void { |
| 158 | 158 | if (comptime @hasDecl(os, "SO_LINGER")) { |
| 159 | const settings = struct { | |
| 159 | const settings = extern struct { | |
| 160 | 160 | l_onoff: c_int, |
| 161 | 161 | l_linger: c_int, |
| 162 | 162 | }{ |