mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
wrap ns_client_error() for unit testing
When testing, the client object doesn't have a proper netmgr handle, so ns_client_error() needs to be a no-op.
This commit is contained in:
parent
c2e4358267
commit
ae37ef45ff
@ -109,3 +109,9 @@ isc_nm_socket_type(const isc_nmhandle_t *handle ISC_ATTR_UNUSED) {
|
|||||||
*/
|
*/
|
||||||
return isc_nm_udpsocket;
|
return isc_nm_udpsocket;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
ns_client_error(ns_client_t *client ISC_ATTR_UNUSED,
|
||||||
|
isc_result_t result ISC_ATTR_UNUSED) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user