svn rev #22954: trunk/src/tests/gssapi/

lhoward@MIT.EDU lhoward at MIT.EDU
Tue Oct 20 09:51:40 EDT 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=22954
Commit By: lhoward
Log Message:
correct indirection of minor status code when calling displayStatus()


Changed Files:
U   trunk/src/tests/gssapi/t_namingexts.c
Modified: trunk/src/tests/gssapi/t_namingexts.c
===================================================================
--- trunk/src/tests/gssapi/t_namingexts.c	2009-10-20 13:49:48 UTC (rev 22953)
+++ trunk/src/tests/gssapi/t_namingexts.c	2009-10-20 13:51:40 UTC (rev 22954)
@@ -266,7 +266,7 @@
 
 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 @@
     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) {




More information about the cvs-krb5 mailing list