mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-05 09:05:40 +00:00
2302. [bug] Fix memset() calls in lib/tests/t_api.c. [RT #17472]
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: t_api.c,v 1.60 2007/06/19 23:47:23 tbox Exp $ */
|
||||
/* $Id: t_api.c,v 1.61 2008/01/14 12:43:35 marka Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
@@ -130,7 +130,7 @@ main(int argc, char **argv) {
|
||||
/*
|
||||
* -a option is now default.
|
||||
*/
|
||||
memset(T_tvec, 0xffff, sizeof(T_tvec));
|
||||
memset(T_tvec, 0xff, sizeof(T_tvec));
|
||||
|
||||
/*
|
||||
* Parse args.
|
||||
@@ -141,7 +141,7 @@ main(int argc, char **argv) {
|
||||
/*
|
||||
* Flag all tests to be run.
|
||||
*/
|
||||
memset(T_tvec, 0xffff, sizeof(T_tvec));
|
||||
memset(T_tvec, 0xff, sizeof(T_tvec));
|
||||
}
|
||||
else if (c == 'b') {
|
||||
T_dir = isc_commandline_argument;
|
||||
|
Reference in New Issue
Block a user