From: Luke Howard Date: Tue, 20 Oct 2009 13:51:40 +0000 (+0000) Subject: correct indirection of minor status code when calling displayStatus() X-Git-Tag: krb5-1.8-alpha1~287 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f123aef054e9091a95a64d53fd44f8bfe87cd85a;p=krb5.git correct indirection of minor status code when calling displayStatus() git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22954 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/tests/gssapi/t_namingexts.c b/src/tests/gssapi/t_namingexts.c index 3d7e4e349..25e73d087 100644 --- a/src/tests/gssapi/t_namingexts.c +++ b/src/tests/gssapi/t_namingexts.c @@ -266,7 +266,7 @@ testGreetAuthzData(OM_uint32 *minor, static OM_uint32 testMapNameToAny(OM_uint32 *minor, - gss_name_t name) + gss_name_t name) { OM_uint32 major; OM_uint32 tmp_minor; @@ -288,7 +288,7 @@ testMapNameToAny(OM_uint32 *minor, if (major == GSS_S_UNAVAILABLE) return GSS_S_COMPLETE; else if (GSS_ERROR(major)) - displayStatus("gss_map_name_to_any", major, &minor); + displayStatus("gss_map_name_to_any", major, *minor); code = krb5_init_context(&context); if (code != 0) {