mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 13:32:47 +01:00
Add missing braces in semaphore posts in net
This commit is contained in:
parent
e007b243c4
commit
819b513a54
12
src/net.cpp
12
src/net.cpp
@ -2319,13 +2319,17 @@ void CConnman::Interrupt()
|
|||||||
interruptNet();
|
interruptNet();
|
||||||
InterruptSocks5(true);
|
InterruptSocks5(true);
|
||||||
|
|
||||||
if (semOutbound)
|
if (semOutbound) {
|
||||||
for (int i=0; i<(nMaxOutbound + nMaxFeeler); i++)
|
for (int i=0; i<(nMaxOutbound + nMaxFeeler); i++) {
|
||||||
semOutbound->post();
|
semOutbound->post();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (semAddnode)
|
if (semAddnode) {
|
||||||
for (int i=0; i<nMaxAddnode; i++)
|
for (int i=0; i<nMaxAddnode; i++) {
|
||||||
semAddnode->post();
|
semAddnode->post();
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void CConnman::Stop()
|
void CConnman::Stop()
|
||||||
|
Loading…
Reference in New Issue
Block a user