summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorenkore <public@enkore.de>2015-10-04 16:05:18 (GMT)
committerColin Walters <walters@verbum.org>2015-10-04 21:36:38 (GMT)
commitde66d347f5126cf419dd91386d28d097841cc5d9 (patch)
tree92b89201bb94ae041817621d180233250e032a98
parentabe07b26dab95e24ad8b55a6297ca4e10b13fb40 (diff)
downloadpolkit-de66d347f5126cf419dd91386d28d097841cc5d9.tar.gz
polkit-de66d347f5126cf419dd91386d28d097841cc5d9.tar.xz
Fix abnomal formatting of authentication header lines
-rw-r--r--src/polkitagent/polkitagenttextlistener.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/polkitagent/polkitagenttextlistener.c b/src/polkitagent/polkitagenttextlistener.c
index e63c285..d864dfb 100644
--- a/src/polkitagent/polkitagenttextlistener.c
+++ b/src/polkitagent/polkitagenttextlistener.c
@@ -206,9 +206,9 @@ on_completed (PolkitAgentSession *session,
fprintf (listener->tty, "\x1B[1;31m");
if (gained_authorization)
- fprintf (listener->tty, "==== AUTHENTICATION COMPLETE ===\n");
+ fprintf (listener->tty, "==== AUTHENTICATION COMPLETE ====\n");
else
- fprintf (listener->tty, "==== AUTHENTICATION FAILED ===\n");
+ fprintf (listener->tty, "==== AUTHENTICATION FAILED ====\n");
fprintf (listener->tty, "\x1B[0m");
fflush (listener->tty);
@@ -473,7 +473,7 @@ polkit_agent_text_listener_initiate_authentication (PolkitAgentListener *_liste
fprintf (listener->tty, "\x1B[1;31m");
fprintf (listener->tty,
- "==== AUTHENTICATING FOR %s ===\n",
+ "==== AUTHENTICATING FOR %s ====\n",
action_id);
fprintf (listener->tty, "\x1B[0m");
fprintf (listener->tty,
@@ -487,7 +487,7 @@ polkit_agent_text_listener_initiate_authentication (PolkitAgentListener *_liste
if (identity == NULL)
{
fprintf (listener->tty, "\x1B[1;31m");
- fprintf (listener->tty, "==== AUTHENTICATION CANCELED ===\n");
+ fprintf (listener->tty, "==== AUTHENTICATION CANCELED ====\n");
fprintf (listener->tty, "\x1B[0m");
fflush (listener->tty);
g_simple_async_result_set_error (simple,