mirror of
https://repo.or.cz/socat.git
synced 2025-07-11 22:23:24 +00:00
Corrections for better 32bit systems support, and some minor fixes
This commit is contained in:
parent
de1ed21026
commit
c9ff62744f
15 changed files with 79 additions and 50 deletions
|
@ -640,7 +640,11 @@ static int xioopen_openssl_listen(
|
|||
|
||||
/* this can fork() for us; it only returns on error or on
|
||||
successful establishment of connection */
|
||||
if (ipproto == IPPROTO_TCP || ipproto == IPPROTO_DCCP) {
|
||||
if (ipproto == IPPROTO_TCP
|
||||
#ifdef IPPROTO_DCCP
|
||||
|| ipproto == IPPROTO_DCCP
|
||||
#endif
|
||||
) {
|
||||
result = _xioopen_listen(sfd, xioflags,
|
||||
(struct sockaddr *)us, uslen,
|
||||
opts, pf, socktype, ipproto,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue