mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-20 08:03:53 +00:00
Brenton/curly braces (#1971)
* fix formatting * properly adjust various lines breakup multiple statements onto multiple lines * insert {} around if, for, etc.
This commit is contained in:
@ -193,11 +193,9 @@ public:
|
||||
{
|
||||
if (end == begin) {
|
||||
return wrap ? S : 0;
|
||||
}
|
||||
else if (end > begin) {
|
||||
} else if (end > begin) {
|
||||
return end - begin;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
return S + end - begin;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user