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
Sebastian Schrader
Kea
Commits
3fcadc1a
Commit
3fcadc1a
authored
Jan 04, 2012
by
JINMEI Tatuya
Browse files
[805] recovered missing condition check; a minor style fix (folded a long line)
parent
9d4ae52d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/asiodns/udp_server.cc
View file @
3fcadc1a
...
...
@@ -88,10 +88,10 @@ struct UDPServer::Data {
LOG_DEBUG
(
logger
,
DBGLVL_TRACE_BASIC
,
ASIODNS_FD_ADD_UDP
).
arg
(
fd
);
try
{
socket_
.
reset
(
new
udp
::
socket
(
io_service
));
socket_
->
assign
(
AF_INET6
?
udp
::
v6
()
:
udp
::
v4
(),
fd
);
socket_
->
assign
(
af
==
AF_INET6
?
udp
::
v6
()
:
udp
::
v4
(),
fd
);
}
catch
(
const
std
::
exception
&
exception
)
{
// Whatever the thing throws, it is something from ASIO and we
convert
// it
// Whatever the thing throws, it is something from ASIO and we
//
convert
it
isc_throw
(
IOError
,
exception
.
what
());
}
}
...
...
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