Fix integer socket option values for FreeBSD

This commit is contained in:
Feoramund
2024-08-05 02:07:15 -04:00
parent 5ece6980eb
commit 2b63684ccf

View File

@@ -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)
}