summaryrefslogtreecommitdiff
path: root/src/picoTCP.cpp
diff options
context:
space:
mode:
authorJoseph Henry <[email protected]>2017-09-18 11:58:41 -0700
committerJoseph Henry <[email protected]>2017-09-18 11:58:41 -0700
commit055a58ac636f95cfd0ebf9dc9b4fe2b315968392 (patch)
tree5328df9447e2ec78b6c64a8edb0803addfbae7e6 /src/picoTCP.cpp
parent5ec6f1846bc78627f65cfb695d0c25afad56d7ab (diff)
Added multithreaded unit tests to selftest, standardization pass: conditional statement spacing
Diffstat (limited to 'src/picoTCP.cpp')
-rw-r--r--src/picoTCP.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/picoTCP.cpp b/src/picoTCP.cpp
index 89ed0e2..9724159 100644
--- a/src/picoTCP.cpp
+++ b/src/picoTCP.cpp
@@ -233,7 +233,7 @@ namespace ZeroTier {
void picoTCP::pico_loop(VirtualTap *tap)
{
- while(tap->_run)
+ while (tap->_run)
{
tap->_phy.poll(ZT_PHY_POLL_INTERVAL);
//_picostack_driver_lock.lock();
@@ -297,7 +297,7 @@ namespace ZeroTier {
handle_general_failure();
}
}
- while(r > 0);
+ while (r > 0);
}
// from stack socket to app socket