Correct the DbC check order in isc__nm_async_tcpchildstop()

This commit is contained in:
Ondřej Surý
2019-12-10 10:46:49 +01:00
parent 977f334648
commit 3248de7785

View File

@@ -567,8 +567,8 @@ isc__nm_async_tcpchildstop(isc__networker_t *worker, isc__netievent_t *ev0) {
UNUSED(worker);
REQUIRE(isc_nm_tid() == sock->tid);
REQUIRE(VALID_NMSOCK(sock));
REQUIRE(isc_nm_tid() == sock->tid);
REQUIRE(sock->type == isc_nm_tcpchildlistener);
REQUIRE(sock->parent != NULL);