mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-01 06:55:30 +00:00
Merge branch '1153-fix-broken-atomics-on-windows' into 'master'
Fixup the increment vs decrement typo in lib/isc/win32/socket.c Closes #1153 See merge request isc-projects/bind9!2172
This commit is contained in:
@@ -3113,7 +3113,7 @@ isc_socket_accept(isc_socket_t *sock,
|
|||||||
UNLOCK(&sock->lock);
|
UNLOCK(&sock->lock);
|
||||||
return (ISC_R_SHUTTINGDOWN);
|
return (ISC_R_SHUTTINGDOWN);
|
||||||
}
|
}
|
||||||
isc_refcount_decrement(&nsock->references);
|
isc_refcount_increment(&nsock->references);
|
||||||
|
|
||||||
adev->ev_sender = ntask;
|
adev->ev_sender = ntask;
|
||||||
adev->newsocket = nsock;
|
adev->newsocket = nsock;
|
||||||
|
Reference in New Issue
Block a user