Improve comment.
authorNeal H. Walfield <neal@gnu.org>
Fri, 1 May 2015 18:37:00 +0000 (20:37 +0200)
committerNeal H. Walfield <neal@gnu.org>
Fri, 1 May 2015 18:37:00 +0000 (20:37 +0200)
* tty/pinentry-tty.c (tty_cmd_handler): Add comment.

--

tty/pinentry-tty.c

index bfd5e26..548c51d 100644 (file)
@@ -218,6 +218,11 @@ tty_cmd_handler(pinentry_t pinentry)
           fprintf (ttyfo, "%s\n",
                    pinentry->description? pinentry->description:"");
           fflush (ttyfo);
+
+         /* If pinentry->one_button is set, then
+            pinentry->description contains an informative message,
+            which the user needs to dismiss.  Since we are showing
+            this in a terminal, there is no window to dismiss.  */
           if (! pinentry->one_button)
             rc = confirm (pinentry, ttyfi, ttyfo);
         }