From: Alexandra Ellwood Date: Tue, 25 Jul 2006 18:51:54 +0000 (+0000) Subject: gss_canonicalize_name(): Added parens to remove X-Git-Tag: krb5-1.6-alpha1~183 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=99475a3c9fdaf9da4d363aa7fd3c9477150dbe95;p=krb5.git gss_canonicalize_name(): Added parens to remove warning from if statement. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18395 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/gssapi/mechglue/g_canon_name.c b/src/lib/gssapi/mechglue/g_canon_name.c index a726fefd0..20a0e85ca 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)