diff options
author | Vasil Dimov <vd@FreeBSD.org> | 2021-04-13 12:14:57 +0200 |
---|---|---|
committer | Vasil Dimov <vd@FreeBSD.org> | 2021-12-01 15:22:59 +0100 |
commit | 6bf6e9fd9dece67878595a5f3361851c25833c49 (patch) | |
tree | 17570439873bd595c91a140f82004124153d524f /src/deploymentinfo.h | |
parent | 9e3cbfca7c9efa620c0cce73503772805cc1fa82 (diff) |
net: change CreateNodeFromAcceptedSocket() to take Sock
Change `CConnman::CreateNodeFromAcceptedSocket()` to take a `Sock`
argument instead of `SOCKET`.
This makes the method mockable and also a little bit shorter as some
`CloseSocket()` calls are removed (the socket will be closed
automatically by the `Sock` destructor on early return).
Diffstat (limited to 'src/deploymentinfo.h')
0 files changed, 0 insertions, 0 deletions