mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Be less restrictive on initializing and magic numbers
This commit is contained in:
parent
c6e6677724
commit
e611814bf8
1 changed files with 0 additions and 1 deletions
|
|
@ -143,7 +143,6 @@ dns_tcpmsg_init(isc_mem_t *mctx, isc_socket_t *sock, dns_tcpmsg_t *tcpmsg)
|
|||
REQUIRE(mctx != NULL);
|
||||
REQUIRE(sock != NULL);
|
||||
REQUIRE(tcpmsg != NULL);
|
||||
REQUIRE(!VALID_TCPMSG(tcpmsg));
|
||||
|
||||
tcpmsg->magic = TCPMSG_MAGIC;
|
||||
tcpmsg->size = 0;
|
||||
|
|
|
|||
Loading…
Reference in a new issue