summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/gssapi/mechglue/g_canon_name.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/gssapi/mechglue/g_canon_name.c b/src/lib/gssapi/mechglue/g_canon_name.c
index a726fefd00..20a0e85ca8 100644
--- a/src/lib/gssapi/mechglue/g_canon_name.c
+++ b/src/lib/gssapi/mechglue/g_canon_name.c
@@ -102,14 +102,14 @@ gss_name_t *output_name;
dest_union = out_union;
/* now let's create the new mech name */
- if (major_status = generic_gss_copy_oid(minor_status, mech_type,
- &dest_union->mech_type))
+ if ((major_status = generic_gss_copy_oid(minor_status, mech_type,
+ &dest_union->mech_type)))
goto allocation_failure;
- if (major_status =
+ if ((major_status =
gssint_import_internal_name(minor_status, mech_type,
dest_union,
- &dest_union->mech_name))
+ &dest_union->mech_name)))
goto allocation_failure;
if (output_name)