[v9_9] isc_errno_toresult()
4445. [cleanup] isc_errno_toresult() can now be used to call the
formerly private function isc__errno2result().
[RT #43050]
(cherry picked from commit ddef16e1d9)
This commit is contained in:
@@ -2473,7 +2473,7 @@ SocketIoThread(LPVOID ThreadContext) {
|
||||
* Did the I/O operation complete?
|
||||
*/
|
||||
errstatus = GetLastError();
|
||||
isc_result = isc__errno2resultx(errstatus, __FILE__, __LINE__);
|
||||
isc_result = isc__errno2result(errstatus);
|
||||
|
||||
LOCK(&sock->lock);
|
||||
CONSISTENT(sock);
|
||||
@@ -2525,7 +2525,7 @@ SocketIoThread(LPVOID ThreadContext) {
|
||||
goto wait_again;
|
||||
} else {
|
||||
errstatus = GetLastError();
|
||||
isc_result = isc__errno2resultx(errstatus, __FILE__, __LINE__);
|
||||
isc_result = isc__errno2result(errstatus);
|
||||
socket_log(__LINE__, sock, NULL, EVENT, NULL, 0, 0,
|
||||
"restart_accept() failed: errstatus=%d isc_result=%d",
|
||||
errstatus, isc_result);
|
||||
|
||||
Reference in New Issue
Block a user