Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Quanah Gibson-Mount
OpenLDAP
Commits
a376cb10
Commit
a376cb10
authored
Dec 21, 2000
by
Mark Valence
Browse files
dup() does not work on WinSock sockets.
parent
c62f6d12
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/liblutil/sockpair.c
View file @
a376cb10
...
...
@@ -58,7 +58,11 @@ int lutil_pair( ber_socket_t sds[2] )
}
sds
[
0
]
=
sd
;
#if !HAVE_WINSOCK
sds
[
1
]
=
dup
(
sds
[
0
]
);
#else
sds
[
1
]
=
sds
[
0
];
#endif
return
0
;
#endif
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment