2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-23 10:39:16 +00:00

fail gracefully if task creation fails

This commit is contained in:
Andreas Gustafsson 2000-01-17 23:54:05 +00:00
parent e57d7e30f1
commit ada4d10c44

View File

@ -15,7 +15,7 @@
* SOFTWARE. * SOFTWARE.
*/ */
/* $Id: xfrin.c,v 1.36 1999/12/24 00:44:59 marka Exp $ */ /* $Id: xfrin.c,v 1.37 2000/01/17 23:54:05 gson Exp $ */
#include <config.h> #include <config.h>
@ -512,8 +512,7 @@ dns_xfrin_start(dns_zone_t *zone, isc_sockaddr_t *master,
CHECK(result); CHECK(result);
task = NULL; task = NULL;
RUNTIME_CHECK(isc_task_create(taskmgr, mctx, 0, &task) CHECK(isc_task_create(taskmgr, mctx, 0, &task));
== DNS_R_SUCCESS);
if (db == NULL) { if (db == NULL) {
xfrin_log1(ISC_LOG_INFO, zonename, master, xfrin_log1(ISC_LOG_INFO, zonename, master,