mirror of https://github.com/aria2/aria2
Code cleanup
parent
098f1571be
commit
9e35750bb8
|
@ -72,13 +72,13 @@ public:
|
||||||
|
|
||||||
void incChokeUnchokeCount() {
|
void incChokeUnchokeCount() {
|
||||||
if(chokeUnchokeCount < INT_MAX) {
|
if(chokeUnchokeCount < INT_MAX) {
|
||||||
chokeUnchokeCount++;
|
++chokeUnchokeCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void incKeepAliveCount() {
|
void incKeepAliveCount() {
|
||||||
if(keepAliveCount < INT_MAX) {
|
if(keepAliveCount < INT_MAX) {
|
||||||
keepAliveCount++;
|
++keepAliveCount;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue