2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

sizeof style

This commit is contained in:
Andreas Gustafsson
2001-11-27 01:56:32 +00:00
parent b414eb4312
commit 91cd0f93ad
70 changed files with 361 additions and 362 deletions

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: parser.c,v 1.92 2001/11/13 06:57:11 marka Exp $ */
/* $Id: parser.c,v 1.93 2001/11/27 01:56:27 gson Exp $ */
#include <config.h>
@@ -3681,7 +3681,7 @@ parser_complain(cfg_parser_t *pctx, isc_boolean_t is_warning,
sprintf(where, "%s:%u: ", current_file(pctx), pctx->line);
if ((unsigned int)vsprintf(message, format, args) >= sizeof message)
if ((unsigned int)vsprintf(message, format, args) >= sizeof(message))
FATAL_ERROR(__FILE__, __LINE__,
"error message would overflow");