diff options
| author | Feoramund <161657516+Feoramund@users.noreply.github.com> | 2024-08-05 02:07:15 -0400 |
|---|---|---|
| committer | Feoramund <161657516+Feoramund@users.noreply.github.com> | 2024-08-05 02:14:41 -0400 |
| commit | 2b63684ccfd45882fd4f37c054d2ca7437c39c66 (patch) | |
| tree | e6f2a332bef9566101630475506c6644e1a35561 /core/net/socket_freebsd.odin | |
| parent | 5ece6980ebce6533b263319f8e7c4368f926c309 (diff) | |
Fix integer socket option values for FreeBSD
Diffstat (limited to 'core/net/socket_freebsd.odin')
| -rw-r--r-- | core/net/socket_freebsd.odin | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/net/socket_freebsd.odin b/core/net/socket_freebsd.odin index 579ea90f2..10bc4c63e 100644 --- a/core/net/socket_freebsd.odin +++ b/core/net/socket_freebsd.odin @@ -304,6 +304,8 @@ _set_option :: proc(socket: Any_Socket, option: Socket_Option, value: any, loc : case: panic("set_option() value must be an integer here", loc) } + ptr = &int_value + len = size_of(int_value) case: unimplemented("set_option() option not yet implemented", loc) } |