From ee1d999d6a9b35bbe9c1b3ba3d73d8c5a6346b8c Mon Sep 17 00:00:00 2001 From: Bob Halley Date: Sat, 24 Jul 1999 03:02:57 +0000 Subject: [PATCH] add INSIST --- bin/named/client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/named/client.c b/bin/named/client.c index 628f31634f..97dd7f7743 100644 --- a/bin/named/client.c +++ b/bin/named/client.c @@ -190,6 +190,7 @@ client_senddone(isc_task_t *task, isc_event_t *event) { CTRACE("senddone"); + INSIST(client->nsends > 0); client->nsends--; isc_mempool_put(client->sendbufs, sevent->region.base);