Skip to content

Commit 2431609

Browse files
committed
Clean up trailing whitespace
1 parent d460fe1 commit 2431609

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/polkitbackend/polkitbackendinteractiveauthority.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1487,10 +1487,10 @@ authentication_agent_generate_cookie (AuthenticationAgent *agent)
14871487
GString *buf = g_string_new ("");
14881488

14891489
g_string_append (buf, agent->cookie_prefix);
1490-
1490+
14911491
g_string_append_c (buf, '-');
14921492
agent->cookie_serial++;
1493-
g_string_append_printf (buf, "%" G_GUINT64_FORMAT,
1493+
g_string_append_printf (buf, "%" G_GUINT64_FORMAT,
14941494
agent->cookie_serial);
14951495
g_string_append_c (buf, '-');
14961496
append_rand_u128_str (buf, agent->cookie_pool);
@@ -1684,7 +1684,7 @@ authentication_agent_new (guint64 serial,
16841684
g_rand_free (agent_private_rand);
16851685

16861686
agent->cookie_prefix = g_string_free (cookie_prefix, FALSE);
1687-
1687+
16881688
/* And a newly seeded pool for per-session cookies */
16891689
agent->cookie_pool = g_rand_new ();
16901690
}
@@ -1786,7 +1786,7 @@ get_authentication_session_for_uid_and_cookie (PolkitBackendInteractiveAuthority
17861786
* due to wrapping, that the cookie used is matched to the user
17871787
* who called AuthenticationAgentResponse2. See
17881788
* http://lists.freedesktop.org/archives/polkit-devel/2015-June/000425.html
1789-
*
1789+
*
17901790
* Except if the legacy AuthenticationAgentResponse is invoked,
17911791
* we don't know the uid and hence use -1. Continue to support
17921792
* the old behavior for backwards compatibility, although everyone

src/programs/pkexec.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ open_session (const gchar *user_to_auth,
202202
for (n = 0; envlist[n]; n++)
203203
{
204204
const char *envitem = envlist[n];
205-
205+
206206
if (g_str_has_prefix (envitem, "XDG_RUNTIME_DIR="))
207207
{
208208
const char *eq = strchr (envitem, '=');
@@ -1031,7 +1031,7 @@ main (int argc, char *argv[])
10311031

10321032
/* change to home directory */
10331033
if (!opt_keep_cwd)
1034-
{
1034+
{
10351035
if (chdir (pw->pw_dir) != 0)
10361036
{
10371037
g_printerr ("Error changing to home directory %s: %s\n", pw->pw_dir, g_strerror (errno));

0 commit comments

Comments
 (0)