mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-13 18:04:40 +08:00
Indentation white space fix from HEAD.
This commit is contained in:
parent
0be1bad42f
commit
3cf8dfa55e
@ -186,14 +186,13 @@ sys_timeout(u32_t msecs, sys_timeout_handler h, void *arg)
|
|||||||
} else {
|
} else {
|
||||||
for(t = timeouts->next; t != NULL; t = t->next) {
|
for(t = timeouts->next; t != NULL; t = t->next) {
|
||||||
timeout->time -= t->time;
|
timeout->time -= t->time;
|
||||||
if (t->next == NULL ||
|
if (t->next == NULL || t->next->time > timeout->time) {
|
||||||
t->next->time > timeout->time) {
|
if (t->next != NULL) {
|
||||||
if (t->next != NULL) {
|
t->next->time -= timeout->time;
|
||||||
t->next->time -= timeout->time;
|
}
|
||||||
}
|
timeout->next = t->next;
|
||||||
timeout->next = t->next;
|
t->next = timeout;
|
||||||
t->next = timeout;
|
break;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user