Commit 73c574e5 authored by Ondřej Surý's avatar Ondřej Surý
Browse files

Fix typo in processbuffer() - tcpdns vs tlsdns

The processbuffer() would call isc__nm_tcpdns_processbuffer() instead of
isc__nm_tlsdns_processbuffer() for the isc_nm_tlsdnssocket type of
socket.
parent 1d64d4cd
......@@ -1857,7 +1857,7 @@ processbuffer(isc_nmsocket_t *sock) {
case isc_nm_tcpdnssocket:
return (isc__nm_tcpdns_processbuffer(sock));
case isc_nm_tlsdnssocket:
return (isc__nm_tcpdns_processbuffer(sock));
return (isc__nm_tlsdns_processbuffer(sock));
default:
INSIST(0);
ISC_UNREACHABLE();
......
......@@ -276,6 +276,7 @@ tlsdns_connect_cb(uv_connect_t *uvreq, int status) {
return;
error:
sock->tls.pending_req = NULL;
isc__nm_failed_connect_cb(sock, req, result);
}
......
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