1
0
Fork 0
mirror of https://repo.or.cz/socat.git synced 2025-07-15 15:43:24 +00:00

A couple of minor corrections

This commit is contained in:
Gerhard Rieger 2023-11-12 10:57:15 +01:00
parent 8f27dd268c
commit 47bb8fff64
5 changed files with 101 additions and 63 deletions

View file

@ -156,7 +156,7 @@ static int xioopen_socks4_connect(
/* this cannot fork because we retrieved fork option above */
result =
_xioopen_connect(sfd,
needbind?us:NULL, sizeof(*us),
needbind?us:NULL, uslen,
themp->ai_addr, themp->ai_addrlen,
opts, pf?pf:themp->ai_family, socktype, IPPROTO_TCP, lowport, level);
if (result == STAT_OK)