mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
add INSIST
This commit is contained in:
@@ -190,6 +190,7 @@ client_senddone(isc_task_t *task, isc_event_t *event) {
|
|||||||
|
|
||||||
CTRACE("senddone");
|
CTRACE("senddone");
|
||||||
|
|
||||||
|
INSIST(client->nsends > 0);
|
||||||
client->nsends--;
|
client->nsends--;
|
||||||
isc_mempool_put(client->sendbufs, sevent->region.base);
|
isc_mempool_put(client->sendbufs, sevent->region.base);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user