2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

Copy functions were not assigning result to output parameter. Now they are.

This commit is contained in:
James Brister 2000-05-08 18:42:38 +00:00
parent 3cb5571edf
commit a466582ff0

View File

@ -15,7 +15,7 @@
* SOFTWARE.
*/
/* $Id: conflog.c,v 1.14 2000/05/08 14:35:29 tale Exp $ */
/* $Id: conflog.c,v 1.15 2000/05/08 18:42:38 brister Exp $ */
#include <config.h>
@ -162,6 +162,8 @@ dns_c_logginglist_copy(isc_mem_t *mem,
logcat = ISC_LIST_NEXT(logcat, next);
}
*dest = newl;
return (ISC_R_SUCCESS);
}
@ -1161,6 +1163,8 @@ dns_c_logcat_copy(isc_mem_t *mem, dns_c_logcat_t **dest, dns_c_logcat_t *src) {
}
}
*dest = newc;
return (ISC_R_SUCCESS);
}