PolicyKit: Branch 'master'

Colin Walters walters at kemper.freedesktop.org
Sun Oct 4 14:36:44 PDT 2015


 src/polkitagent/polkitagenttextlistener.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit de66d347f5126cf419dd91386d28d097841cc5d9
Author: enkore <public at enkore.de>
Date:   Sun Oct 4 18:05:18 2015 +0200

    Fix abnomal formatting of authentication header lines

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,


More information about the hal-commit mailing list