aboutsummaryrefslogtreecommitdiff
path: root/src/krb5-auth-dialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/krb5-auth-dialog.c')
-rw-r--r--src/krb5-auth-dialog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/krb5-auth-dialog.c b/src/krb5-auth-dialog.c
index 803ce95..6aa09a5 100644
--- a/src/krb5-auth-dialog.c
+++ b/src/krb5-auth-dialog.c
@@ -576,7 +576,7 @@ main (int argc, char *argv[])
DBusGProxy *bus_proxy;
guint request_name_reply;
unsigned int flags;
- int run_auto = 0, run_always = 0;
+ gboolean run_auto = FALSE, run_always = FALSE;
const char *help_msg = "Run '" PACKAGE " --help' to see a full list of available command line options";
const GOptionEntry options [] = {
{"auto", 'a', 0, G_OPTION_ARG_NONE, &run_auto,
@@ -642,7 +642,7 @@ main (int argc, char *argv[])
}
if (run_always && !run_auto) {
- always_run++;
+ always_run = TRUE;
}
if (using_krb5 () || always_run) {
g_set_application_name (_("Network Authentication"));