2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

add UNEXPECTED_ERROR in one place where ISC_R_UNEXPECTED is returned.

This commit is contained in:
Michael Graff
1999-07-09 20:31:35 +00:00
parent ce04ac2008
commit 3ce0769857

View File

@@ -1960,6 +1960,9 @@ isc_socket_sendto(isc_socket_t *sock, isc_region_t *region,
goto out;
}
UNEXPECTED_ERROR(__FILE__, __LINE__,
"isc_socket_sendto: "
"errno: %s", strerror(errno));
sock->send_result = ISC_R_UNEXPECTED;
send_senddone_event(sock, &task, NULL, &dev,
ISC_R_UNEXPECTED);