mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
typo: s/dns_displist_t/dispsocketlist_t/
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: dispatch.c,v 1.151 2008/08/15 17:29:52 jinmei Exp $ */
|
||||
/* $Id: dispatch.c,v 1.152 2008/08/15 17:47:18 jinmei Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
@@ -2205,7 +2205,7 @@ qid_allocate(dns_dispatchmgr_t *mgr, unsigned int buckets,
|
||||
if (result != ISC_R_SUCCESS) {
|
||||
if (qid->sock_table != NULL) {
|
||||
isc_mem_put(mgr->mctx, qid->sock_table,
|
||||
buckets * sizeof(dns_displist_t));
|
||||
buckets * sizeof(dispsocketlist_t));
|
||||
}
|
||||
isc_mem_put(mgr->mctx, qid->qid_table,
|
||||
buckets * sizeof(dns_displist_t));
|
||||
@@ -2241,7 +2241,7 @@ qid_destroy(isc_mem_t *mctx, dns_qid_t **qidp) {
|
||||
qid->qid_nbuckets * sizeof(dns_displist_t));
|
||||
if (qid->sock_table != NULL) {
|
||||
isc_mem_put(mctx, qid->sock_table,
|
||||
qid->qid_nbuckets * sizeof(dns_displist_t));
|
||||
qid->qid_nbuckets * sizeof(dispsocketlist_t));
|
||||
}
|
||||
DESTROYLOCK(&qid->lock);
|
||||
isc_mem_put(mctx, qid, sizeof(*qid));
|
||||
|
@@ -15,7 +15,7 @@
|
||||
* PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: xfrin.c,v 1.162 2008/07/28 23:47:22 tbox Exp $ */
|
||||
/* $Id: xfrin.c,v 1.163 2008/08/15 17:47:18 jinmei Exp $ */
|
||||
|
||||
/*! \file */
|
||||
|
||||
@@ -874,6 +874,7 @@ xfrin_start(dns_xfrin_ctx_t *xfr) {
|
||||
isc_socket_setname(xfr->socket, "xfrin", NULL);
|
||||
#ifndef BROKEN_TCP_BIND_BEFORE_CONNECT
|
||||
CHECK(isc_socket_bind(xfr->socket, &xfr->sourceaddr,
|
||||
|
||||
ISC_SOCKET_REUSEADDRESS));
|
||||
#endif
|
||||
CHECK(isc_socket_connect(xfr->socket, &xfr->masteraddr, xfr->task,
|
||||
|
Reference in New Issue
Block a user