Files
cpp-build-system/support/3rd_party/libdsm_netbios_session_c_2.patch
Scott E. Graves 92e3e495ce
Some checks failed
sgraves/cpp-build-system_mac/pipeline/head There was a failure building this commit
sgraves/cpp-build-system/pipeline/head There was a failure building this commit
initial commit
2025-10-17 07:44:16 -05:00

20 lines
762 B
Diff

*** src/netbios_session.c 2024-08-25 15:41:23.313857494 -0500
--- src/netbios_session.c.new 2024-08-25 16:48:20.721356125 -0500
*************** static int open_socket_and_connect(netbi
*** 126,132 ****
if (FD_ISSET(s->socket, &write_fds))
{
! if (getsockopt(s->socket, SOL_SOCKET, SO_ERROR, &ret,
&(socklen_t){ sizeof (ret) }) || ret)
{
errno = ret;
--- 126,132 ----
if (FD_ISSET(s->socket, &write_fds))
{
! if (getsockopt(s->socket, SOL_SOCKET, SO_ERROR, (char*)&ret,
&(socklen_t){ sizeof (ret) }) || ret)
{
errno = ret;