Commit b55dc7da authored by Tatuya JINMEI 神明達哉's avatar Tatuya JINMEI 神明達哉
Browse files

typo: s/dns_displist_t/dispsocketlist_t/

parent e2fe1fda
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment