aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2020-11-24 12:15:07 +0100
committerVasil Dimov <vd@FreeBSD.org>2021-03-01 12:57:00 +0100
commit25605895afe84b1765dd9da9240af22f99489df7 (patch)
treed8066df5b3a23adfd401ee56d5e67c0669551736 /src/net.h
parent545bc5f81d60fa6ff7c5cc43a2e9eef82f911466 (diff)
downloadbitcoin-25605895afe84b1765dd9da9240af22f99489df7.tar.xz
net: check for invalid socket earlier in CConnman::AcceptConnection()
This check is related to an `accept()` failure. So do the check earlier, closer to the `accept()` call. This will allow to isolate the `accept()`-specific code at the beginning of `CConnman::AcceptConnection()` and reuse the code that follows it.
Diffstat (limited to 'src/net.h')
0 files changed, 0 insertions, 0 deletions