2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +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:
Ondřej Surý
2019-07-21 22:18:48 -04:00

View File

@@ -3113,7 +3113,7 @@ isc_socket_accept(isc_socket_t *sock,
UNLOCK(&sock->lock);
return (ISC_R_SHUTTINGDOWN);
}
isc_refcount_decrement(&nsock->references);
isc_refcount_increment(&nsock->references);
adev->ev_sender = ntask;
adev->newsocket = nsock;