aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorwalters <walters@517b70f8-ed25-0410-8bf6-f5db08f7b76e>2008-06-09 19:07:53 +0000
committerwalters <walters@517b70f8-ed25-0410-8bf6-f5db08f7b76e>2008-06-09 19:07:53 +0000
commit23e9eb07a2fe6e7bb730bd37e69effa034210f80 (patch)
tree3bae806ba0e7f197f6e22b4ac1d87f6abb09d99d /src
parentae1db9adf041e6c2e8905ec53210ab13ccf16c07 (diff)
2008-06-09 Colin Walters <walters@verbum.org>
Bug 534515: cleanups * src/krb5-auth-dialog.c: Cleaner use of gboolean. Patch from from Guido Günther. git-svn-id: http://svn.gnome.org/svn/krb5-auth-dialog/trunk@74 517b70f8-ed25-0410-8bf6-f5db08f7b76e
Diffstat (limited to 'src')
-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"));