Commit fc5ae319 authored by Evan Hunt's avatar Evan Hunt
Browse files

clean up dead code

removed an if statement that always evaluated to false
parent 5703f704
......@@ -501,9 +501,6 @@ isc_sockaddr_fromsockaddr(isc_sockaddr_t *isa, const struct sockaddr *sa) {
default:
return (ISC_R_NOTIMPLEMENTED);
}
if (length == 0) {
return (ISC_R_NOTIMPLEMENTED);
}
memset(isa, 0, sizeof(isc_sockaddr_t));
memcpy(isa, sa, length);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment