aboutsummaryrefslogtreecommitdiff
path: root/build_msvc/common.vcxproj
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2021-01-20 11:26:43 +0100
committerMarcoFalke <falke.marco@gmail.com>2021-04-02 18:32:46 +0200
commit4d6e246fa46f2309e2998b542e4c104d73d29071 (patch)
treea96b2df57aff9577c8e7c7b85fe5afa8173431c3 /build_msvc/common.vcxproj
parente08f3193b543017702d000c2263bccbefa981c14 (diff)
test: use pointers in denialofservice_tests/peer_discouragement
This is a non-functional change that replaces the `CNode` on-stack variables with `CNode` pointers. The reason for this is that it would allow us to add those `CNode`s to `CConnman::vNodes[]` which in turn would allow us to check that they are disconnected properly - a `CNode` object must be in `CConnman::vNodes[]` in order for its `fDisconnect` flag to be set. If we store pointers to the on-stack variables in `CConnman` then it would crash at the end, trying to `delete` them.
Diffstat (limited to 'build_msvc/common.vcxproj')
0 files changed, 0 insertions, 0 deletions