Fixed to use new krb5_principal structure
authorTheodore Tso <tytso@mit.edu>
Tue, 9 Jun 1992 11:33:53 +0000 (11:33 +0000)
committerTheodore Tso <tytso@mit.edu>
Tue, 9 Jun 1992 11:33:53 +0000 (11:33 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2284 dc483132-0cff-0310-8789-dd5450dbe970

src/appl/simple/server/sim_server.c

index 7d6525ed6cf2e2e14cd1cef2acbd649465095119..8024affceaf20f64b4a560d9be22d774ddb7e2f2 100644 (file)
@@ -192,7 +192,8 @@ char *argv[];
        exit(1);
     }
 
-    if (retval = krb5_get_server_rcache(sprinc[1], &rcache)) {
+    if (retval = krb5_get_server_rcache(krb5_princ_component(sprinc, 0),
+                                       &rcache)) {
        com_err(PROGNAME, retval, "while opening replay cache");
        exit(1);
     }