2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 14:25:41 +00:00

Fix a silly malloc bug in mrtrace.

This commit is contained in:
Ted Lemon
2001-03-30 05:21:58 +00:00
parent fa0b47093f
commit 651a34dd93

View File

@@ -133,7 +133,7 @@ void trace_mr_statp_setup (res_state statp)
if (trace_record ()) {
trace_iov_t *iov;
iov = dmalloc ((statp -> nscount *
sizeof (struct in_addr)), MDL);
sizeof (trace_iov_t)), MDL);
if (!iov) {
trace_stop ();
log_error ("No memory for statp iov.");