diff options
author | Vasil Dimov <vd@FreeBSD.org> | 2020-11-24 12:15:07 +0100 |
---|---|---|
committer | Vasil Dimov <vd@FreeBSD.org> | 2021-03-01 12:57:00 +0100 |
commit | 25605895afe84b1765dd9da9240af22f99489df7 (patch) | |
tree | d8066df5b3a23adfd401ee56d5e67c0669551736 /.style.yapf | |
parent | 545bc5f81d60fa6ff7c5cc43a2e9eef82f911466 (diff) |
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 '.style.yapf')
0 files changed, 0 insertions, 0 deletions