correct indirection of minor status code when calling displayStatus()
authorLuke Howard <lukeh@padl.com>
Tue, 20 Oct 2009 13:51:40 +0000 (13:51 +0000)
committerLuke Howard <lukeh@padl.com>
Tue, 20 Oct 2009 13:51:40 +0000 (13:51 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22954 dc483132-0cff-0310-8789-dd5450dbe970

src/tests/gssapi/t_namingexts.c

index 3d7e4e34904b6f3f5db95de22fbc8cadd204e5e4..25e73d08726eaee0994200d43d73676de386d49a 100644 (file)
@@ -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) {