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:
@@ -232,7 +232,7 @@ int setup_veth_extra(
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
idx ++;
|
||||
idx++;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
+1
-1
@@ -2560,7 +2560,7 @@ static int inner_child(
|
||||
|
||||
envp[n_env] = strv_find_prefix(environ, "TERM=");
|
||||
if (envp[n_env])
|
||||
n_env ++;
|
||||
n_env++;
|
||||
|
||||
if ((asprintf((char**)(envp + n_env++), "HOME=%s", home ? home: "/root") < 0) ||
|
||||
(asprintf((char**)(envp + n_env++), "USER=%s", arg_user ? arg_user : "root") < 0) ||
|
||||
|
||||
Reference in New Issue
Block a user