Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
41822248
Commit
41822248
authored
Apr 17, 1999
by
Per Cederqvist
Browse files
(isc_createudp): Relocate the fd.
parent
dd338a91
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libraries/libisc-new/src/isc_udp.c
View file @
41822248
...
...
@@ -203,6 +203,8 @@ isc_createudp(IscSessionConfig *cfg)
if
((
fd
=
socket
(
AF_INET
,
SOCK_DGRAM
,
0
))
<
0
)
return
NULL
;
fd
=
isc_relocate_fd
(
fd
,
cfg
->
fd_relocate
);
/* Set non blocking write mode */
if
((
res
=
fcntl
(
fd
,
F_GETFL
,
0
))
==
-
1
)
...
...
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