Fixed bug in calling sequence to krb5_principal_compare
authorTheodore Tso <tytso@mit.edu>
Wed, 29 Jul 1992 13:24:49 +0000 (13:24 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 29 Jul 1992 13:24:49 +0000 (13:24 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2314 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/ccache/stdio/scc_retrv.c

index 67f5e9613be1d72ce1cd87dafdcb9292ef7a0ece..4b13fa9512176586ab6c6904ff2ffb72aa089116 100644 (file)
@@ -81,7 +81,7 @@ register const krb5_creds *mcreds, *creds;
     retval = krb5_principal_compare(mcreds->client,creds->client);
     if (retval != TRUE)
        return retval;
-    return krb5_principal_compare(&(mcreds->server[1]),&(creds->server[1]));
+    return krb5_principal_compare(mcreds->server, creds->server);
 }