2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

sizeof style

This commit is contained in:
Andreas Gustafsson
2001-11-12 19:05:39 +00:00
parent e3e94dd137
commit f3ca27e9fe
23 changed files with 187 additions and 187 deletions

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: masterdump.c,v 1.61 2001/10/25 23:18:05 gson Exp $ */
/* $Id: masterdump.c,v 1.62 2001/11/12 19:05:21 gson Exp $ */
#include <config.h>
@@ -424,7 +424,7 @@ rdataset_totext(dns_rdataset_t *rdataset,
INDENT_TO(ttl_column);
length = sprintf(ttlbuf, "%u", rdataset->ttl);
INSIST(length <= sizeof ttlbuf);
INSIST(length <= sizeof(ttlbuf));
isc_buffer_availableregion(target, &r);
if (r.length < length)
return (ISC_R_NOSPACE);