mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
Copy functions were not assigning result to output parameter. Now they are.
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* SOFTWARE.
|
* 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>
|
#include <config.h>
|
||||||
|
|
||||||
@@ -162,6 +162,8 @@ dns_c_logginglist_copy(isc_mem_t *mem,
|
|||||||
logcat = ISC_LIST_NEXT(logcat, next);
|
logcat = ISC_LIST_NEXT(logcat, next);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
*dest = newl;
|
||||||
|
|
||||||
return (ISC_R_SUCCESS);
|
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);
|
return (ISC_R_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user