mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 11:49:59 -04: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.
(cherry picked from commit ae37ef45ff)
This commit is contained in:
parent
4f1f958d6d
commit
cc0fc98244
1 changed files with 6 additions and 0 deletions
|
|
@ -97,3 +97,9 @@ isc_nmhandle_detach(isc_nmhandle_t **handlep) {
|
|||
|
||||
return;
|
||||
}
|
||||
|
||||
void
|
||||
ns_client_error(ns_client_t *client ISC_ATTR_UNUSED,
|
||||
isc_result_t result ISC_ATTR_UNUSED) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue