tree-wide: make ++/-- usage consistent WRT spacing
Throughout the tree there's spurious use of spaces separating ++ and -- operators from their respective operands. Make ++ and -- operator consistent with the majority of existing uses; discard the spaces.
This commit is contained in:
+3
-3
@@ -364,7 +364,7 @@ void unit_add_to_gc_queue(Unit *u) {
|
||||
LIST_PREPEND(gc_queue, u->manager->gc_queue, u);
|
||||
u->in_gc_queue = true;
|
||||
|
||||
u->manager->n_in_gc_queue ++;
|
||||
u->manager->n_in_gc_queue++;
|
||||
}
|
||||
|
||||
void unit_add_to_dbus_queue(Unit *u) {
|
||||
@@ -1864,13 +1864,13 @@ void unit_notify(Unit *u, UnitActiveState os, UnitActiveState ns, bool reload_su
|
||||
ec = unit_get_exec_context(u);
|
||||
if (ec && exec_context_may_touch_console(ec)) {
|
||||
if (UNIT_IS_INACTIVE_OR_FAILED(ns)) {
|
||||
m->n_on_console --;
|
||||
m->n_on_console--;
|
||||
|
||||
if (m->n_on_console == 0)
|
||||
/* unset no_console_output flag, since the console is free */
|
||||
m->no_console_output = false;
|
||||
} else
|
||||
m->n_on_console ++;
|
||||
m->n_on_console++;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user