summaryrefslogtreecommitdiff
path: root/src/providers/krb5
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-08-18 20:27:10 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-08-19 15:17:23 +0200
commit50e694bddc95b3137b29fa872af4f679feb96964 (patch)
treea154236d53442a78f88d349c62c017ea2d3bdfeb /src/providers/krb5
parent39f13b3bf5b3cf79f5f16575403f03b539300dc7 (diff)
downloadsssd-50e694bddc95b3137b29fa872af4f679feb96964.tar.gz
sssd-50e694bddc95b3137b29fa872af4f679feb96964.tar.bz2
sssd-50e694bddc95b3137b29fa872af4f679feb96964.zip
KRB5: Formatting changes
Diffstat (limited to 'src/providers/krb5')
-rw-r--r--src/providers/krb5/krb5_child.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/providers/krb5/krb5_child.c b/src/providers/krb5/krb5_child.c
index b77fa0aa..2516e466 100644
--- a/src/providers/krb5/krb5_child.c
+++ b/src/providers/krb5/krb5_child.c
@@ -447,7 +447,7 @@ static bool need_switch_to_principal(krb5_context ctx, krb5_principal princ)
bool ret = false;
kerr = krb5_cc_default(ctx, &default_cc);
- if (kerr !=0) {
+ if (kerr != 0) {
KRB5_CHILD_DEBUG(SSSDBG_TRACE_INTERNAL, kerr);
goto done;
}
@@ -463,13 +463,13 @@ static bool need_switch_to_principal(krb5_context ctx, krb5_principal princ)
}
kerr = krb5_unparse_name(ctx, default_princ, &default_full_name);
- if (kerr !=0) {
+ if (kerr != 0) {
KRB5_CHILD_DEBUG(SSSDBG_TRACE_INTERNAL, kerr);
goto done;
}
kerr = krb5_unparse_name(ctx, princ, &full_name);
- if (kerr !=0) {
+ if (kerr != 0) {
KRB5_CHILD_DEBUG(SSSDBG_TRACE_INTERNAL, kerr);
goto done;
}
@@ -2042,7 +2042,7 @@ static int k5c_setup(struct krb5_req *kr, uint32_t offline)
if (debug_level & SSSDBG_TRACE_ALL) {
kerr = sss_child_set_krb5_tracing(kr->ctx);
- if (kerr) {
+ if (kerr != 0) {
KRB5_CHILD_DEBUG(SSSDBG_MINOR_FAILURE, kerr);
return EIO;
}